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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user