From badb0c3e5a47fce3622dd9b2c1e5d4aacfd84076 Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Sat, 15 Oct 2011 17:30:39 +0100 Subject: [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 --- phpBB/assets/javascript/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/assets/javascript/core.js') 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; } -- cgit v1.2.1