diff options
author | Udo Walter | 2017-11-21 17:24:44 +0100 |
---|---|---|
committer | Udo Walter | 2017-11-21 17:24:44 +0100 |
commit | 3d88bb5a4223d3fdc9084eee3e75defc8da674b0 (patch) | |
tree | 9d15a1ccafa5ec3ee97f991637145e524e70e37c /modules-available/permissionmanager/templates/roleeditor.html | |
parent | [dozmod] implemented new permission system to module for: deleting expired vm... (diff) | |
download | slx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.tar.gz slx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.tar.xz slx-admin-3d88bb5a4223d3fdc9084eee3e75defc8da674b0.zip |
[permissionmanager] added key relationships to install script;
changed nested php for loops to sql code; standardized sql column naming;
small bugfixes;
Diffstat (limited to 'modules-available/permissionmanager/templates/roleeditor.html')
-rw-r--r-- | modules-available/permissionmanager/templates/roleeditor.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/permissionmanager/templates/roleeditor.html b/modules-available/permissionmanager/templates/roleeditor.html index fd78fc54..359f09a1 100644 --- a/modules-available/permissionmanager/templates/roleeditor.html +++ b/modules-available/permissionmanager/templates/roleeditor.html @@ -6,7 +6,7 @@ <div class="row"> <div class="col-md-12" style="margin-bottom: 20px;"> <b>{{lang_Name}}:</b> - <input name="roleName" value="{{roleName}}" type="text" id="roleName" class="form-control"> + <input name="rolename" value="{{rolename}}" type="text" id="rolename" class="form-control"> <button type="submit" id="saveButton" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_Save}}</button> <button type="button" id="cancelButton" class="btn btn-default pull-right">{{lang_Cancel}}</button> </div> @@ -20,7 +20,7 @@ <select multiple name="locations[]" id="select-location"> <option value></option> {{#locations}} - <option value="{{locid}}" {{selected}}>{{locName}}</option> + <option value="{{locationid}}" {{#selected}}selected{{/selected}}>{{locationpad}} {{locationname}}</option> {{/locations}} </select> </div> @@ -121,7 +121,7 @@ }); $('form').submit(function () { - var name = $.trim($('#roleName').val()); + var name = $.trim($('#rolename').val()); if (name === '') { alert('{{lang_emptyNameWarning}}'); return false; |