From 0bc3073a6c5c8512184fd8d0e0044eee7e8d47d0 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Wed, 01 Feb 2017 17:31:30 +0000 Subject: [PATCH] auskommentierte Teile entfernt --- web/ui/index.html | 16 ---------------- web/ui/ui.js | 8 -------- 2 files changed, 0 insertions(+), 24 deletions(-) diff --git a/web/ui/index.html b/web/ui/index.html index ada5958..d07633f 100644 --- a/web/ui/index.html +++ b/web/ui/index.html @@ -13,22 +13,6 @@ {{/List}} {{/List}} </script> - <!-- - <script id="tpl-role-list" type="x-tmpl-mustache"> - {{#List}} - {{#List}} - <option value="{{ String }}">{{ String }}</option>' - {{/List}} - {{/List}} - </script> - <script id="tpl-user-role-list" type="x-tmpl-mustache"> - {{#List}} - {{#List}} - <option value="{{ String }}">{{ String }}</option>' - {{/List}} - {{/List}} - </script> - --> </head> <body> <div id="inhalt"> diff --git a/web/ui/ui.js b/web/ui/ui.js index 8365c9b..b2efd06 100644 --- a/web/ui/ui.js +++ b/web/ui/ui.js @@ -216,14 +216,6 @@ Mustache.parse(template); // optional, speeds up future uses $("#rollen").append( Mustache.render(template, resp) ); - /* - var rollen = resp.List[0]; - for(var i = 1; i < rollen.List.length; i++) { - var rolle = rollen.List[i]; - $("#rollen").append('<option value=' + rolle.String + '>' + rolle.String + '</option>'); - } - */ - $('#rolleErteilen').prop( "disabled", true ); } -- Gitblit v1.9.3