mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13984] Fix the call of Ajax loading indicator
PHPBB3-13984
This commit is contained in:
parent
60b4d5132f
commit
73ba70e98c
1 changed files with 4 additions and 1 deletions
|
@ -394,8 +394,11 @@ phpbb.ajaxify = function(options) {
|
||||||
error: errorHandler,
|
error: errorHandler,
|
||||||
cache: false
|
cache: false
|
||||||
});
|
});
|
||||||
|
|
||||||
request.always(function() {
|
request.always(function() {
|
||||||
|
if ($loadingIndicator && $loadingIndicator.is(':visible')) {
|
||||||
$loadingIndicator.fadeOut(phpbb.alertTime);
|
$loadingIndicator.fadeOut(phpbb.alertTime);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue