diff --git a/data/web/inc/footer.inc.php b/data/web/inc/footer.inc.php
index d7bb4353..eac175e4 100644
--- a/data/web/inc/footer.inc.php
+++ b/data/web/inc/footer.inc.php
@@ -186,6 +186,7 @@ $(document).ready(function() {
$(this).prop("disabled",true);
$(this).html(' ');
$('#statusTriggerRestartContainer').text('Restarting container, this may take a while... ');
+ $('#statusTriggerRestartContainer2').text('Reloading webpage... ');
$.ajax({
method: 'get',
url: '/inc/ajax/container_ctrl.php',
@@ -200,6 +201,9 @@ $(document).ready(function() {
success: function(data) {
$('#statusTriggerRestartContainer').append(data);
$('#triggerRestartContainer').html(' ');
+ $('#statusTriggerRestartContainer2').append(data);
+ $('#triggerRestartContainer').html(' ');
+ location.reload();
}
});
});
diff --git a/data/web/modals/footer.php b/data/web/modals/footer.php
index e861ab4e..05ae74b3 100644
--- a/data/web/modals/footer.php
+++ b/data/web/modals/footer.php
@@ -196,6 +196,7 @@ if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'admi