mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue