Fixed: MultiInstalls involving docker and plugins not working without manual reload of Apps

master
Squidly271 2023-12-30 21:21:38 -05:00
parent 8b02320d48
commit 0f0c7851ec
3 changed files with 5 additions and 3 deletions

View File

@ -2042,9 +2042,8 @@ function installMulti() {
if ( docker.length ) {
$("#sb-nav-close").css("visibility","hidden"); // Because docker install cannot be aborted so why allow window to close
setTimeout(function(){
openDocker('update_container '+docker.join('*'),tr('Update '+makePlural("Application",dockerCount)),'',);
openDocker('update_container '+docker.join('*'),tr('Install '+makePlural("Application",dockerCount)),'','postMultiDockerInstall');
},1000);
// openBox('/plugins/<?=$plugin?>/scripts/installMulti.php?plugin='+plugin+'&docker='+docker,tr('Install '+makePlural("Application",dockerCount)),600,1100,true);
} else {
pluginArray.forEach(function(value) {
hidePluginPending(value[1]);
@ -2061,6 +2060,9 @@ function installMulti() {
});
}
function postMultiDockerInstall() {
window.location.reload();
}
function updateDisplay(content) {
// This has to be first. If this doesn't happen, performance gets worse the more you click around
$(".supportButtonCardContext,.actionsButtonContext").each(function() {

View File

@ -1,4 +1,4 @@
7d5a73eae929c3c4a1c29aa854bb2595 ./Apps.page
0c8e760af170787493806cea97e27071 ./Apps.page
2defe45163697e40c813a57ae9a50231 ./CA_notices.page
fc664dd4cf65ab02d828a5ae76f263ac ./ca_settings.page
01ed7990078dee7cecfeda9a4e49377e ./default.cfg