diff options
author | Callum Macrae <callum@lynxphp.com> | 2011-10-15 17:30:39 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:18 +0200 |
commit | badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076 (patch) | |
tree | e5bf327516582db24e010c7d1c983a112b632929 /phpBB/assets/javascript/core.js | |
parent | 3648dd99f7d5c640e9b6c92b182f8b88fd867842 (diff) | |
download | forums-badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076.tar forums-badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076.tar.gz forums-badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076.tar.bz2 forums-badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076.tar.xz forums-badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076.zip |
[ticket/10272] Fixed a bug in the ajax exceptions callback handler.
It was using code copied from a few lines above, which was designed for
forms and doesn't work with links.
PHPBB3-10272
Diffstat (limited to 'phpBB/assets/javascript/core.js')
-rw-r--r-- | phpBB/assets/javascript/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index a82760c159..3aeabd7454 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -312,7 +312,7 @@ phpbb.ajaxify = function(options, refresh, callback) { } else { - if (run_exception && options.exception($(this).parents('form'))) + if (run_exception && options.exception($(this))) { return true; } |