[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:
Cesar G 2015-11-12 07:56:57 -08:00
parent 224efba459
commit da6ce7a668

View file

@ -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') {