diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-02-15 21:16:16 +0100 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:10:14 +0200 |
| commit | 2f44850a28fa9121052b9db57370d8e20ec5a0aa (patch) | |
| tree | 62c5fe7e45973def7e9394915ffe8e6ae69718e7 | |
| parent | ea4362fc4cc89c4371d3eaadb1326676c6d2793e (diff) | |
| download | forums-2f44850a28fa9121052b9db57370d8e20ec5a0aa.tar forums-2f44850a28fa9121052b9db57370d8e20ec5a0aa.tar.gz forums-2f44850a28fa9121052b9db57370d8e20ec5a0aa.tar.bz2 forums-2f44850a28fa9121052b9db57370d8e20ec5a0aa.tar.xz forums-2f44850a28fa9121052b9db57370d8e20ec5a0aa.zip | |
[feature/ajax] Fix filter check, quick mod tools data-attribute
PHPBB3-10270
| -rw-r--r-- | phpBB/assets/javascript/core.js | 2 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 764bc74bce..eb9798331e 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -368,7 +368,7 @@ phpbb.ajaxify = function(options) { // If filter function returns false, cancel the AJAX functionality, // and return true (meaning that the HTTP request will be sent normally). - if (run_filter && options.filter.call(this, data)) + if (run_filter && !options.filter.call(this, data)) { return true; } diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 8559b6fd9e..1c450b0500 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -263,7 +263,7 @@ <!-- INCLUDE jumpbox.html --> <!-- IF .quickmod --> - <form method="post" action="{S_MOD_ACTION}" id="quickmodform"> + <form method="post" action="{S_MOD_ACTION}" id="quickmodform" data-ajax="true"> <fieldset class="quickmod"> <label for="quick-mod-select">{L_QUICK_MOD}:</label> <select name="action" id="quick-mod-select"> |
