go back to home if action centre is cleared out

This commit is contained in:
Squidly271 2022-05-05 10:56:38 -04:00
parent 7fa56b9c08
commit 22f50b75d0
3 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg
924d3111123a9ca9d3d7590070f2a8ec ./include/exec.php
3d3b064d651fbd432037fccbcc7b7203 ./include/exec.php
d5ba81dbd93c7b149dec96def31107e9 ./include/helpers.php
fc87642746ba4f324537bc381b78e982 ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -1209,7 +1209,7 @@ function previous_apps() {
$displayedApplications['community'] = $displayed;
writeJsonFile($caPaths['community-templates-displayed'],$displayedApplications);
if ( $installed == "action" && empty($displayed) ) {
postReturn(['status'=>"ok",'script'=>'$(".actionCentre").hide();']);
postReturn(['status'=>"ok",'script'=>'$(".actionCentre").hide();$(".startupButton").trigger("click");']);
} else {
postReturn(['status'=>"ok"]);
}