diff --git a/views/default.handlebars b/views/default.handlebars
index f97ebadf..b1272a43 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -487,7 +487,7 @@
|
-
+
|
@@ -3177,9 +3177,9 @@
var devNotify = '';
if (node.sessions != null) {
if (view == 2) {
- devNotify = '';
+ devNotify = '';
} else {
- devNotify = '';
+ devNotify = '';
}
}
@@ -3426,11 +3426,12 @@
}
// Show currently active sessions on this device
- function showDeviceSessions(nodeid, force) {
- if (xxdialogMode && !force) return;
+ function showDeviceSessions(nodeid, force, e) {
+ if (e) haltEvent(e);
+ if (xxdialogMode && !force) return false;
var node = null, x = '';
if (nodeid == null) { node = currentNode; } else { node = getNodeFromId(nodeid); }
- if ((node == null) || (node.sessions == null)) { setDialogMode(0); return; }
+ if ((node == null) || (node.sessions == null)) { setDialogMode(0); return false; }
for (var i in node.sessions) {
if ((i == 'kvm') && (node.sessions.multidesk == null)) {
x += '' + "Remote Desktop" + '';
@@ -3447,6 +3448,7 @@
}
}
if (x != '') setDialogMode(2, "Sessions" + ' - ' + EscapeHtml(node.name), 1, null, x, 'SESSIONS-' + node._id);
+ return false;
}
function toggleCollapseGroup(id, id2, type) {
@@ -10964,7 +10966,7 @@
if (userAdminRights) { x += '' + "Delete User" + ''; }
x += '';
// If user admin rights and not SSPI/LDAP and UserID does not start with ~, show change password
- if (userAdminRights && ((features & 0x00080000) == 0) && (userid.split('/')[2][0] != '~')) { x += '
' + "Change Password" + ''; }
+ if (userAdminRights && ((features & 0x00080000) == 0) && (user._id.split('/')[2][0] != '~')) { x += '
' + "Change Password" + ''; }
x += '
'
QH('p30html3', x);