mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 09:48:53 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12572] Fix JS error when alert message title is undefined
This commit is contained in:
commit
59ca723174
1 changed files with 3 additions and 1 deletions
|
@ -333,7 +333,9 @@ phpbb.ajaxify = function(options) {
|
||||||
// Hide the alert even if we refresh the page, in case the user
|
// Hide the alert even if we refresh the page, in case the user
|
||||||
// presses the back button.
|
// presses the back button.
|
||||||
dark.fadeOut(phpbb.alertTime, function() {
|
dark.fadeOut(phpbb.alertTime, function() {
|
||||||
|
if (typeof alert !== 'undefined') {
|
||||||
alert.hide();
|
alert.hide();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, res.REFRESH_DATA.time * 1000); // Server specifies time in seconds
|
}, res.REFRESH_DATA.time * 1000); // Server specifies time in seconds
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue