Add banner when running background tasks
This commit is contained in:
parent
ecf9971e3a
commit
bfdad3c211
BIN
archive/community.applications-2022.06.15-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.06.15-x86_64-1.txz
Normal file
Binary file not shown.
BIN
archive/community.applications-2022.06.16-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.06.16-x86_64-1.txz
Normal file
Binary file not shown.
@ -2928,7 +2928,13 @@ function getPerPageOpts(value) {
|
||||
|
||||
function setupActionCentre() {
|
||||
// set up action centre - run in background without tying anything up
|
||||
var acBanner = false;
|
||||
var bannerTimeout = setTimeout(function(){
|
||||
acBanner = addBannerWarning("<?tr("Running Background Application Tests")?>");
|
||||
},1000);
|
||||
$.post("/plugins/<?=$plugin?>/include/exec.php",{action:'enableActionCentre'},function(data) {
|
||||
clearTimeout(bannerTimeout);
|
||||
removeBannerWarning(acBanner);
|
||||
var ret = JSON.parse(data);
|
||||
if ( ret.status == "action" )
|
||||
$(".actionCentre").show();
|
||||
|
@ -1,4 +1,4 @@
|
||||
d657db06b3f6dac2c1ad595e37447994 ./Apps.page
|
||||
4f5b81b0c0029e43df4eb8e01092bdd7 ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user