diff --git a/static/js/appDialog.js b/static/js/appDialog.js index e67d86a..2e90b8e 100644 --- a/static/js/appDialog.js +++ b/static/js/appDialog.js @@ -67,7 +67,8 @@ oml.ui.appDialog = function() { disabled: true, title: Ox._('Installing...') }); - oml.api.restart({update: true},function(response) { + oml.isRelaunching = true; + oml.api.restart({update: true}, function(response) { if (response.status.code == 200) { setTimeout(reload, 500); }