From da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Thu, 12 Nov 2015 07:56:57 -0800 Subject: [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 --- phpBB/assets/javascript/core.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/assets') diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 36e881f5fd..228230ff71 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -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') { -- cgit v1.2.1