[ticket/10291] Fixed an AJAX bug on quick reply form submit.

It wasn't fading out.

PHPBB3-10291
This commit is contained in:
Callum Macrae 2012-02-20 20:22:24 +00:00 committed by Igor Wiedler
parent d8e21952fa
commit 10055d58cd

View file

@ -26,7 +26,7 @@ phpbb.add_ajax_callback('post_approve', function(res) {
// This callback handles the removal of the quick reply form. // This callback handles the removal of the quick reply form.
phpbb.add_ajax_callback('qr-submit', function() { phpbb.add_ajax_callback('qr-submit', function() {
$(this).parents('form').fadeOut(function() { $(this).fadeOut(function() {
$(this).remove(); $(this).remove();
}); });
}); });