mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 01:38:54 +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
|
||||
// presses the back button.
|
||||
dark.fadeOut(phpbb.alertTime, function() {
|
||||
if (typeof alert !== 'undefined') {
|
||||
alert.hide();
|
||||
}
|
||||
});
|
||||
}, res.REFRESH_DATA.time * 1000); // Server specifies time in seconds
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue