1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-05 22:14:59 +02:00

[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
{
if (run_exception && options.exception($(this).parents('form')))
if (run_exception && options.exception($(this)))
{
return true;
}