From 761ce9129900f88e316a31e813d92bbd2a32a7f2 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 24 Jun 2019 00:44:18 +1000 Subject: [PATCH] Revert window.close usage --- static/js/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 6825c51..1b8cfe2 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -69,12 +69,11 @@ var app = new Vue({ }, methods: { "exit": function() { - /*ajax("/api/exit", function() {}, function(msg) { + ajax("/api/exit", function() {}, function(msg) { alert("LiftInstall encountered and error while exiting: " + msg + "\nPlease upload the log file (in the same directory as the installer) to " + "the respective maintainers for this application (where you got it from!)"); - });*/ - window.close(); + }); } } }).$mount("#app");