aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/script.js')
-rw-r--r--phpBB/styles/script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/styles/script.js b/phpBB/styles/script.js
index 8814d105e1..85dcdb25f5 100644
--- a/phpBB/styles/script.js
+++ b/phpBB/styles/script.js
@@ -363,6 +363,9 @@ phpbb.add_ajax_callback('post_delete', function(el) {
tr.next().find('.up').html('<a href="' + tr.data('up') + '"><img src="./images/icon_up.gif" alt="Move up" title="Move up" /></a>');
phpbb.ajaxify({selector: tr.next().find('.up').children('a')}, false, 'forum_up');
}
+}).add_ajax_callback('row_delete', function(el) {
+ var tr = $(el).parents('tr');
+ tr.remove();
}).add_ajax_callback('zebra', function(el, res) {
if (res.success) {
$('.zebra').html(res.MESSAGE_TEXT);