mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14487] Add loading indicator while polling status
PHPBB3-14487
This commit is contained in:
parent
8993fef9c0
commit
dacbf09227
1 changed files with 2 additions and 0 deletions
|
@ -354,8 +354,10 @@
|
||||||
doRefresh();
|
doRefresh();
|
||||||
} else if (status === 'running') {
|
} else if (status === 'running') {
|
||||||
statusCount++;
|
statusCount++;
|
||||||
|
$('#loading_indicator').css('display', 'block');
|
||||||
setTimeout(queryInstallerStatus, 5000);
|
setTimeout(queryInstallerStatus, 5000);
|
||||||
} else {
|
} else {
|
||||||
|
$('#loading_indicator').css('display', 'none');
|
||||||
addMessage('error',
|
addMessage('error',
|
||||||
[{
|
[{
|
||||||
title: installLang.title,
|
title: installLang.title,
|
||||||
|
|
Loading…
Add table
Reference in a new issue