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:
parent
3648dd99f7
commit
badb0c3e5a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user