mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02: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:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user