Only run AC on 6.12+

master
Squidly271 2023-11-11 12:49:29 -05:00
parent 8eadcc3d71
commit 8c2a99c0d8
4 changed files with 9 additions and 6 deletions

View File

@ -1967,14 +1967,10 @@ function updateMulti() {
if ( docker.length ) {
saveState();
setTimeout(function(){
openDocker('update_container '+docker.join('*'),tr('Install '+makePlural("Application",dockerCount)),'','refresh');
openDocker('update_container '+docker.join('*'),tr('Install '+makePlural("Application",dockerCount)),'','reloadPage');
},1000);
} else {
<?if ($nchanCom):?>
ca_openPlugin('multiplugin update '+plugin,tr('Install '+makePlural("Application",pluginCount)),'','refresh');
<?else:?>
openBox('/plugins/<?=$plugin?>/scripts/installMultiPlugin.php&arg1='+plugin,tr('Install '+makePlural("Application",pluginCount)),600,900,true);
<?endif;?>
enableSearch();
}
} else {
@ -1983,6 +1979,9 @@ function updateMulti() {
});
}
function reloadPage() {
location.reload();
}
function installMulti() {
var docker = new Array();
var pluginArray = new Array();
@ -3174,6 +3173,10 @@ function getPerPageOpts(value) {
}
function setupActionCentre() {
// only use action centre on 6.12+
<? if ( ! $unRaid612 ) : ?>
return;
<? endif; ?>
// set up action centre - run in background without tying anything up
var acBanner = false;
$.post("/plugins/<?=$plugin?>/include/exec.php",{action:'enableActionCentre'},function(data) {

View File

@ -1,4 +1,4 @@
6bb630b4e42afd84148b301d9dbc8235 ./Apps.page
2af5c88e41ab29b31e4145d1832a372e ./Apps.page
385834d91dc8758bfcd5d34f1c3e530e ./CA_notices.page
2c2a1b7d148fe51ee38813d1a0e71589 ./ca_settings.page
01ed7990078dee7cecfeda9a4e49377e ./default.cfg

BIN
webImages/image.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB