refresh deployments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-14 13:21:11 +01:00
parent 38305ffbee
commit d146d2d054
2 changed files with 7 additions and 1 deletions

View File

@@ -316,7 +316,10 @@ function check_uninstall(additional) {
if (data!="OK") {
setTimeout(check_uninstall, 1000, additional);
}
else jQuery("#"+additional).html('Uninstall has finished');
else {
jQuery("#"+additional).html('Uninstall has finished');
get_deployments();
}
});
}

View File

@@ -232,6 +232,7 @@ switch ($_GET["op"]) {
}
elseif ($data["STATUS"]=="2") { // deploy
echo "Install has finished.";
echo "<script>get_deployments();</script>";
}
remove_response("$key");
}
@@ -248,6 +249,7 @@ switch ($_GET["op"]) {
}
elseif ($data["STATUS"]=="2") {
echo "Install has finished.";
echo "<script>get_deployments();</script>";
remove_response("$key"); // remove from output if finished so reinstall can start
}
}
@@ -319,6 +321,7 @@ switch ($_GET["op"]) {
}
elseif ($data["STATUS"]=="2") {
echo "Install has finished...";
echo "<script>get_deployments();</script>";
remove_response("$key");
}
}