mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14287] Always remove loading indicator after confirming action.
If there is no success message after the action is confirmed, the indicator is not currently removed. PHPBB3-14287
This commit is contained in:
parent
224efba459
commit
da6ce7a668
1 changed files with 4 additions and 0 deletions
|
@ -303,6 +303,10 @@ phpbb.ajaxify = function(options) {
|
|||
alert = phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
|
||||
} else {
|
||||
$dark.fadeOut(phpbb.alertTime);
|
||||
|
||||
if ($loadingIndicator) {
|
||||
$loadingIndicator.fadeOut(phpbb.alertTime);
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof phpbb.ajaxCallbacks[callback] === 'function') {
|
||||
|
|
Loading…
Add table
Reference in a new issue