From a29f5ca76074f014d2a82390610797907528efc1 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 21 Apr 2021 06:37:03 +0000 Subject: [PATCH] Unterscheidung und Verarbeitung Geraete-Liste mit allen Angaben (auch Status) oder nur Name --- www/ui/js/app.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/ui/js/app.js b/www/ui/js/app.js index 3825b66..5051dd6 100644 --- a/www/ui/js/app.js +++ b/www/ui/js/app.js @@ -156,7 +156,7 @@ }; this.geraet_schalt_liste = function() { - self.entitaet_liste('Geräte schalten','../api/store/Geraet/liste/', + self.entitaet_liste('Geräte schalten','../api/store/Geraet/listealles/', "data/tpl/geraet_schalt_liste.txt", '../api/store/Geraet/', "self.form_geraet_status", function(responseText) { var geraet = JSON.parse(responseText); @@ -889,9 +889,10 @@ this.album = a; } -function Geraet(n, e, a, s) { +function Geraet(n, e, a, s, st) { this.name = n; this.einUrl = e; this.ausUrl = a; this.statusUrl = s; + this.status = st; } \ No newline at end of file -- Gitblit v1.9.3