[feature/ajax] Remove quick-reply AJAX handling until we have something good

The current implementation is not very user friendly, lots of things flashing
in the user's face. We can re-consider AJAX when we have a decent solution.

PHPBB3-10270
This commit is contained in:
Igor Wiedler 2012-03-31 00:13:08 +02:00
parent 6145e0ba65
commit 07826d6679
2 changed files with 1 additions and 8 deletions

View file

@ -24,13 +24,6 @@ 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).css('pointer-events', 'none').fadeOut(function() {
$(this).remove();
});
});
// This removes the parent row of the link or form that fired the callback.
phpbb.add_ajax_callback('row_delete', function() {
$(this).parents('tr').remove();

View file

@ -1,4 +1,4 @@
<form method="post" action="{U_QR_ACTION}" data-ajax="qr-submit" data-refresh="true">
<form method="post" action="{U_QR_ACTION}">
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<h2>{L_QUICKREPLY}</h2>