shift-click: list members of channel-connected nodegroup

This commit is contained in:
BigEd 2010-12-21 22:31:38 +00:00
parent 167f93f836
commit 09c578e361

View File

@ -460,7 +460,7 @@ function handleClick(e){
var cy = Math.round(y*grChipSize/600);
// prepare two lines of status report
var s1='x: ' + cx + ' y: ' + cy;
var s2='node: ' + w + ' ' + nodeName(w);
var s2='node: ' + w + ' ' + nodeName(w);
if(w==-1) {
setStatus(s1); // no node found, so report only coordinates
return;
@ -483,7 +483,7 @@ function handleClick(e){
if(e.shiftKey) {
getNodeGroup(w);
nodelist = group;
s2 = "nodegroup from " + s2
s2 = "nodegroup from " + s2 + " (nodes: " + group.join(",") + ")";
}
hiliteNode(nodelist);
setStatus(s1, s2);