From ebda068cfaf269ce5c0d1b0cac2c51abf60e46fc Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 14 Sep 2021 17:28:46 -0700 Subject: [PATCH] Small UI fix. --- views/default.handlebars | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 2825a5a9..352db789 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -13990,7 +13990,7 @@ x += '

'; x += '

'; x += '

'; - setDialogMode(2, "Edit User Features", 3, p51edituserGroupFeaturesEx, x); + setDialogMode(2, "Edit User Group Features", 3, p51edituserGroupFeaturesEx, x); p51edituserGroupFeaturesValidate(); } @@ -14024,25 +14024,6 @@ meshserver.send({ action: 'editusergroup', ugrpid: currentUserGroup._id, flags: f, removeRights: r }); } - /* - function p51edituserGroupFeatures() { - if (xxdialogMode) return; - var flags = (currentUserGroup.flags)?currentUserGroup.flags:0, x = ''; // Flags: 2 = Session Recording - if (serverinfo.userGroupsSessionRecording == 1) { - x += '

'; - } - setDialogMode(2, "Edit User Group Features", 3, p51edituserGroupFeaturesEx, x); - } - - // Send to the server the new user's real name - function p51edituserGroupFeaturesEx() { - // Setup user flags - var f = 0; - if ((serverinfo.userGroupsSessionRecording == 1) && Q('d51flag1').checked) { f += 2; } - meshserver.send({ action: 'editusergroup', ugrpid: currentUserGroup._id, flags: f }); - } - */ - function p51removeDeviceFromUserGroup(e, nodeid) { if (xxdialogMode) return; var node = getNodeFromId(decodeURIComponent(nodeid));