auskommentierte Teile entfernt
| | |
| | | {{/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"> |
| | |
| | | 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 ); |
| | | } |
| | | |