[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
This commit is contained in:
Callum Macrae 2011-10-15 17:30:39 +01:00 committed by Igor Wiedler
parent 3648dd99f7
commit badb0c3e5a

View file

@ -312,7 +312,7 @@ phpbb.ajaxify = function(options, refresh, callback) {
} }
else else
{ {
if (run_exception && options.exception($(this).parents('form'))) if (run_exception && options.exception($(this)))
{ {
return true; return true;
} }