From 10055d58cdbd1c6441166542467a955ebe286d25 Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Mon, 20 Feb 2012 20:22:24 +0000 Subject: [PATCH] [ticket/10291] Fixed an AJAX bug on quick reply form submit. It wasn't fading out. PHPBB3-10291 --- phpBB/styles/prosilver/template/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index f42c37fbce..02b1e95b46 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -26,7 +26,7 @@ phpbb.add_ajax_callback('post_approve', function(res) { // This callback handles the removal of the quick reply form. phpbb.add_ajax_callback('qr-submit', function() { - $(this).parents('form').fadeOut(function() { + $(this).fadeOut(function() { $(this).remove(); }); });