mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02: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:
@@ -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.
|
// This removes the parent row of the link or form that fired the callback.
|
||||||
phpbb.add_ajax_callback('row_delete', function() {
|
phpbb.add_ajax_callback('row_delete', function() {
|
||||||
$(this).parents('tr').remove();
|
$(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="panel">
|
||||||
<div class="inner"><span class="corners-top"><span></span></span>
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
<h2>{L_QUICKREPLY}</h2>
|
<h2>{L_QUICKREPLY}</h2>
|
||||||
|
Reference in New Issue
Block a user