From 757acef98231fb7b5923befbe0498924874ebd32 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 21 Apr 2021 05:57:43 +0000
Subject: [PATCH] Geraete-Liste mit Status fertig

---
 www/ui/js/app.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/ui/js/app.js b/www/ui/js/app.js
index 98a5675..3825b66 100644
--- a/www/ui/js/app.js
+++ b/www/ui/js/app.js
@@ -166,14 +166,16 @@
           var geraetName = event.target.attributes.gname.nodeValue;
           //var geraetName = document.querySelector('.schalt-geraet-name').textContent;
           self.http_get('../api/gstrg/geraet/' + geraetName + "/ein", function(responseText) {
-            console.log(responseText);
+            // console.log(responseText);
+            self.geraet_schalt_liste();
           });
         });
         self.addEvtListener('#aus-btn', 'click', function (event) {
           var geraetName = event.target.attributes.gname.nodeValue;
           //var geraetName = document.querySelector('.schalt-geraet-name').textContent;
           self.http_get('../api/gstrg/geraet/' + geraetName + "/aus", function(responseText) {
-            console.log(responseText);
+            // console.log(responseText);
+            self.geraet_schalt_liste();
           });
         });        
       });

--
Gitblit v1.9.3