Small UI fix.
Ylian Saint-Hilaire committed
Sep 14, 2021 at 17:28 UTC
ebda068cfaf269ce5c0d1b0cac2c51abf60e46fc
1 file changed
+1
-20
views/default.handlebars
+1
-20
@@ -13990,7 +13990,7 @@
13990
x += '<div><label><input type=checkbox id=d51flag9 onchange=p51edituserGroupFeaturesValidate() ' + ((removeRights & 0x00020000) ? 'checked' : '') + '>' + "No Remote Command" + '</label><br></div>';
13991
x += '<div><label><input type=checkbox id=d51flag10 onchange=p51edituserGroupFeaturesValidate() ' + ((removeRights & 0x00000040) ? 'checked' : '') + '>' + "No Wake" + '</label><br></div>';
13992
x += '<div><label><input type=checkbox id=d51flag11 onchange=p51edituserGroupFeaturesValidate() ' + ((removeRights & 0x00040000) ? 'checked' : '') + '>' + "No Reset/Off" + '</label><br></div>';
13993
- setDialogMode(2, "Edit User Features", 3, p51edituserGroupFeaturesEx, x);
13993
+ setDialogMode(2, "Edit User Group Features", 3, p51edituserGroupFeaturesEx, x);
13994
p51edituserGroupFeaturesValidate();
13995
}
13996
@@ -14024,25 +14024,6 @@
14024
meshserver.send({ action: 'editusergroup', ugrpid: currentUserGroup._id, flags: f, removeRights: r });
14025
}
14026
14027
- /*
14028
- function p51edituserGroupFeatures() {
14029
- if (xxdialogMode) return;
14030
- var flags = (currentUserGroup.flags)?currentUserGroup.flags:0, x = ''; // Flags: 2 = Session Recording
14031
- if (serverinfo.userGroupsSessionRecording == 1) {
14032
- x += '<div><label><input type=checkbox id=d51flag1 ' + ((flags & 2) ? 'checked' : '') + '>' + "Record sessions" + '</label><br></div>';
14033
- }
14034
- setDialogMode(2, "Edit User Group Features", 3, p51edituserGroupFeaturesEx, x);
14035
- }
14036
-
14037
- // Send to the server the new user's real name
14038
- function p51edituserGroupFeaturesEx() {
14039
- // Setup user flags
14040
- var f = 0;
14041
- if ((serverinfo.userGroupsSessionRecording == 1) && Q('d51flag1').checked) { f += 2; }
14042
- meshserver.send({ action: 'editusergroup', ugrpid: currentUserGroup._id, flags: f });
14043
- }
14044
- */
14045
-
14027
function p51removeDeviceFromUserGroup(e, nodeid) {
14028
if (xxdialogMode) return;
14029
var node = getNodeFromId(decodeURIComponent(nodeid));