diff options
author | Cesar G <prototech91@gmail.com> | 2015-11-12 07:56:57 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2015-11-12 07:58:18 -0800 |
commit | da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81 (patch) | |
tree | f0769b2494e62208f4acceb7534f33ad0585312a /phpBB/assets | |
parent | 224efba459f073e0e954a047f0dd2e70cdba0c75 (diff) | |
download | forums-da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81.tar forums-da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81.tar.gz forums-da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81.tar.bz2 forums-da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81.tar.xz forums-da6ce7a668b14c1d0bf1c09544725c3a5e8e2b81.zip |
[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
Diffstat (limited to 'phpBB/assets')
-rw-r--r-- | phpBB/assets/javascript/core.js | 4 |
1 files changed, 4 insertions, 0 deletions
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') { |