Removed debug code, #3935
This commit is contained in:
parent
129f13e7c3
commit
2023a2f929
|
@ -2526,8 +2526,6 @@ function displayDeviceInfo(sysinfo, lastconnect, network, nodes) {
|
||||||
if (lastconnect != null) { node.lastconnect = lastconnect.time; node.lastaddr = lastconnect.addr; }
|
if (lastconnect != null) { node.lastconnect = lastconnect.time; node.lastaddr = lastconnect.addr; }
|
||||||
if (args.raw) { console.log(JSON.stringify(sysinfo, ' ', 2)); return; }
|
if (args.raw) { console.log(JSON.stringify(sysinfo, ' ', 2)); return; }
|
||||||
|
|
||||||
console.log(node);
|
|
||||||
|
|
||||||
// General
|
// General
|
||||||
var output = {}, outputCount = 0;
|
var output = {}, outputCount = 0;
|
||||||
if (node.name) { output["Server Name"] = node.name; outputCount++; }
|
if (node.name) { output["Server Name"] = node.name; outputCount++; }
|
||||||
|
|
|
@ -185,11 +185,7 @@ var CreateRDPDesktop = function (canvasid) {
|
||||||
if (typeof action == 'object') { for (var i in action) { obj.m.SendKeyMsgKC(action[i][0], action[i][1], action[i][2]); } }
|
if (typeof action == 'object') { for (var i in action) { obj.m.SendKeyMsgKC(action[i][0], action[i][1], action[i][2]); } }
|
||||||
else {
|
else {
|
||||||
var scan = shortcutToScan[kc];
|
var scan = shortcutToScan[kc];
|
||||||
//console.log(action, kc, extendedKey, scan);
|
if (scan != null) { obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)])); }
|
||||||
if (scan != null) {
|
|
||||||
//console.log('SEND', ['scancode', scan, ((action & 1) != 0)]);
|
|
||||||
obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)]));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
obj.m.mousedblclick = function () { }
|
obj.m.mousedblclick = function () { }
|
||||||
|
|
Loading…
Reference in New Issue