aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-02-15 21:16:16 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:10:14 +0200
commit2f44850a28fa9121052b9db57370d8e20ec5a0aa (patch)
tree62c5fe7e45973def7e9394915ffe8e6ae69718e7 /phpBB/assets
parentea4362fc4cc89c4371d3eaadb1326676c6d2793e (diff)
downloadforums-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
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/core.js2
1 files changed, 1 insertions, 1 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;
}