aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-31 00:13:08 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:10:17 +0200
commit07826d6679d7edb738024c2e759247e82574a8a3 (patch)
tree84cc90f878acd868b437f760306d0ea65a284f21 /phpBB/styles/prosilver/template
parent6145e0ba65978e11249f6eb13d40391f348200ed (diff)
downloadforums-07826d6679d7edb738024c2e759247e82574a8a3.tar
forums-07826d6679d7edb738024c2e759247e82574a8a3.tar.gz
forums-07826d6679d7edb738024c2e759247e82574a8a3.tar.bz2
forums-07826d6679d7edb738024c2e759247e82574a8a3.tar.xz
forums-07826d6679d7edb738024c2e759247e82574a8a3.zip
[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
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js7
-rw-r--r--phpBB/styles/prosilver/template/quickreply_editor.html2
2 files changed, 1 insertions, 8 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index 9ae7679e3e..3ad03f1539 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -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();
diff --git a/phpBB/styles/prosilver/template/quickreply_editor.html b/phpBB/styles/prosilver/template/quickreply_editor.html
index 3eff2a2bd6..4cd5eedd3e 100644
--- a/phpBB/styles/prosilver/template/quickreply_editor.html
+++ b/phpBB/styles/prosilver/template/quickreply_editor.html
@@ -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>