diff --git a/views/default.handlebars b/views/default.handlebars
index 5afba72d..3e96910f 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -938,6 +938,7 @@
@@ -3008,6 +3009,9 @@
mainUpdate(2 | 8 | 16);
refreshDevice(node._id);
+ // If we are looking at the device group for this device, update that.
+ if ((xxcurrentView == 20) && (currentMesh != null) && (currentMesh._id == node.meshid)) { mainUpdate(4096); }
+
if ((currentNode == node) && (xxdialogMode != null) && (xxdialogTag == '@xxmap')) { p10showNodeLocationDialog(); }
}
break;
@@ -3103,6 +3107,9 @@
mainUpdate(1 | 16);
}
refreshDevice(node._id);
+
+ // If we are looking at the device group for this device, update that.
+ if ((xxcurrentView == 20) && (currentMesh != null) && (currentMesh._id == node.meshid)) { mainUpdate(4096); }
}
break;
}
@@ -10862,11 +10869,31 @@
}
x += '';
+
+ // Display list of devices in this device group
+ count = 0;
+ nodes.sort(deviceSort);
+ var y = '
' + "Devices" + ' | |
';
+ for (var i in nodes) {
+ var node = nodes[i], gray = ((node.conn > 0)?'':' gray');
+ if (currentMesh._id != node.meshid) continue;
+ y += ' ' + EscapeHtml(node.name) + ' | ' + PowerStateStr(node.pwr) + ' ' + (node.osdesc ? EscapeHtml(node.osdesc) : '') + ' |
';
+ ++count;
+ }
+ y += '
';
+ if (count == 0) { y = ''; }
// If we are full administrator on this mesh, allow deletion of the mesh
- if (meshrights == 0xFFFFFFFF) { x += '
'; }
+ if (meshrights == 0xFFFFFFFF) {
+ if (count == 0) {
+ x += '
';
+ } else {
+ y += '
';
+ }
+ }
QH('p20info', x);
+ QH('p20info2', y);
// Change the URL
var urlviewmode = '';