From a870903c8d9999234ce7707ae80adc4eedfa5ad0 Mon Sep 17 00:00:00 2001 From: Naeel Date: Thu, 16 Apr 2026 17:39:23 +0300 Subject: [PATCH] v9.17: remove graph-modal event listeners (element not in DOM) --- k8s/deployment.yaml | 2 +- static/index.html | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 690ce99..0d1dcb6 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cloud-dashboard - image: naeel/cloud-dashboard:v9.16 + image: naeel/cloud-dashboard:v9.17 imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/static/index.html b/static/index.html index 9a78fb9..a38ce57 100644 --- a/static/index.html +++ b/static/index.html @@ -1272,15 +1272,9 @@ function initApp(){ document.getElementById("btn-login").addEventListener("click", doLogin); document.getElementById("btn-refresh").addEventListener("click", loadAllDetails); -document.getElementById("btn-running-graph").addEventListener("click", openRunningGraph); document.getElementById("btn-theme").addEventListener("click", toggleTheme); -document.getElementById("btn-close-graph").addEventListener("click", closeRunningGraph); document.getElementById("btn-exit").addEventListener("click", doLogout); -document.getElementById("graph-modal").addEventListener("click", function(e){ - if(e.target && e.target.id === "graph-modal") closeRunningGraph(); -}); - applyTheme(localStorage.getItem("dashboard_theme") || "dark"); var envSelect = document.getElementById("deck-env");