1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/ajax] Fix filter check, quick mod tools data-attribute

PHPBB3-10270
This commit is contained in:
Igor Wiedler
2012-02-15 21:16:16 +01:00
parent ea4362fc4c
commit 2f44850a28
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}