From 22ee1c71c71b9f2b169be95ce084941208c22954 Mon Sep 17 00:00:00 2001
From: David Huss <dh@atoav.com>
Date: Tue, 5 Nov 2024 17:53:49 +0100
Subject: [PATCH] Minor cleanup

---
 static/ws.js | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/static/ws.js b/static/ws.js
index 047681a..2084716 100644
--- a/static/ws.js
+++ b/static/ws.js
@@ -18,16 +18,6 @@ let poweroff_dialog = new Dialog("Shut down system?", "Do you really want to pow
         ws2.send(JSON.stringify({command: "close-power-dialog"}));
     }).create();
 
-// let projector_poweroff_dialog = new Dialog("Shut down Projector?", "Do you really want to power off the projector?")
-//     .addOption("Power off", "Yes: Shut down the projector", ["danger"], function(e){
-//         // waitingForResponse.push(e.target);
-//         ws2.send(JSON.stringify({command: "projector-power-off"}));
-//         ws2.send(JSON.stringify({command: "close-projector-power-dialog"}));
-//     })
-//     .addOption("Keep running", "No: Keep the projector on", [], function(e){
-//         console.log("Cancelled Projector Powerdown");
-//         ws2.send(JSON.stringify({command: "close-projector-power-dialog"}));
-//     }).create();
 
 let disconnected_dialog = new Dialog("Connection Error", "The connection to the websocket failed. This should not have happened, please seek help.").create();
 
-- 
GitLab