Zeile 120 | Zeile 120 |
---|
{ $.each(json.errors, function(i, message) {
|
{ $.each(json.errors, function(i, message) {
|
$.jGrowl(lang.post_fetch_error + ' ' + message);
| $.jGrowl(lang.post_fetch_error + ' ' + message, {theme:'jgrowl_error'});
|
}); return false; }
| }); return false; }
|
Zeile 209 | Zeile 209 |
---|
$.each(json.errors, function(i, message) {
|
$.each(json.errors, function(i, message) {
|
$.jGrowl(lang.quick_edit_update_error + ' ' + message);
| $.jGrowl(lang.quick_edit_update_error + ' ' + message, {theme:'jgrowl_error'});
|
}); $(this).html($('#pid_' + pid + '_temp').html()); }
| }); $(this).html($('#pid_' + pid + '_temp').html()); }
|
Zeile 227 | Zeile 227 |
---|
} else {
|
} else {
|
$.jGrowl(json.moderation_post);
| $.jGrowl(json.moderation_post, {theme:'jgrowl_success'});
|
$('#post_' + pid).slideToggle(); } }
| $('#post_' + pid).slideToggle(); } }
|
Zeile 349 | Zeile 349 |
---|
$.each(json.errors, function(i, message) {
|
$.each(json.errors, function(i, message) {
|
$.jGrowl(lang.quick_reply_post_error + ' ' + message);
| $.jGrowl(lang.quick_reply_post_error + ' ' + message, {theme:'jgrowl_error'});
|
}); $('#quickreply_spinner').hide(); }
| }); $('#quickreply_spinner').hide(); }
|
Zeile 431 | Zeile 431 |
---|
showIgnoredPost: function(pid) { $('#ignored_post_'+pid).slideToggle("slow");
|
showIgnoredPost: function(pid) { $('#ignored_post_'+pid).slideToggle("slow");
|
| $('#post_'+pid).slideToggle("slow"); },
showDeletedPost: function(pid) { $('#deleted_post_'+pid).slideToggle("slow");
|
$('#post_'+pid).slideToggle("slow"); },
| $('#post_'+pid).slideToggle("slow"); },
|
Zeile 455 | Zeile 461 |
---|
{ $.each(json.errors, function(i, message) {
|
{ $.each(json.errors, function(i, message) {
|
$.jGrowl(lang.quick_delete_error + ' ' + message);
| $.jGrowl(lang.quick_delete_error + ' ' + message, {theme:'jgrowl_error'});
|
}); } else if(json.hasOwnProperty("data"))
| }); } else if(json.hasOwnProperty("data"))
|
Zeile 469 | Zeile 475 |
---|
$("#quick_delete_" + pid).hide(); $("#quick_restore_" + pid).show();
|
$("#quick_delete_" + pid).hide(); $("#quick_restore_" + pid).show();
|
$.jGrowl(lang.quick_delete_success);
| $.jGrowl(lang.quick_delete_success, {theme:'jgrowl_success'});
|
} else if(json.data == 2) { // Actually deleted $('#post_'+pid).slideToggle("slow");
|
} else if(json.data == 2) { // Actually deleted $('#post_'+pid).slideToggle("slow");
|
$.jGrowl(lang.quick_delete_success);
| $.jGrowl(lang.quick_delete_success, {theme:'jgrowl_success'});
|
} else if(json.data == 3) { // deleted thread --> redirect if(!json.hasOwnProperty("url")) {
|
} else if(json.data == 3) { // deleted thread --> redirect if(!json.hasOwnProperty("url")) {
|
$.jGrowl(lang.unknown_error);
| $.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});
|
} // set timeout for redirect
| } // set timeout for redirect
|
Zeile 493 | Zeile 499 |
---|
}, 3000); // print success message
|
}, 3000); // print success message
|
$.jGrowl(lang.quick_delete_thread_success);
| $.jGrowl(lang.quick_delete_thread_success, {theme:'jgrowl_success'});
|
} } else {
|
} } else {
|
$.jGrowl(lang.unknown_error);
| $.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});
|
} } });
| } } });
|
Zeile 531 | Zeile 537 |
---|
{ $.each(json.errors, function(i, message) {
|
{ $.each(json.errors, function(i, message) {
|
$.jGrowl(lang.quick_restore_error + ' ' + message);
| $.jGrowl(lang.quick_restore_error + ' ' + message, {theme:'jgrowl_error'});
|
}); } else if(json.hasOwnProperty("data"))
| }); } else if(json.hasOwnProperty("data"))
|
Zeile 542 | Zeile 548 |
---|
$("#quick_delete_" + pid).show(); $("#quick_restore_" + pid).hide();
|
$("#quick_delete_" + pid).show(); $("#quick_restore_" + pid).hide();
|
$.jGrowl(lang.quick_restore_success);
| $.jGrowl(lang.quick_restore_success, {theme:'jgrowl_success'});
|
} else {
|
} else {
|
$.jGrowl(lang.unknown_error);
| $.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});
|
} } });
| } } });
|