Merge pull request #4028 from prototech/ticket/14287

[ticket/14287] Always remove loading indicator after confirming action.
This commit is contained in:
Marc Alexander 2015-11-12 17:56:59 +01:00
commit d53c5b7e2a

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