mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[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:
parent
6145e0ba65
commit
07826d6679
2 changed files with 1 additions and 8 deletions
|
@ -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();
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue