1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed bad minified meshcore modules, added session player and session recording fixes

This commit is contained in:
Ylian Saint-Hilaire 2019-08-10 22:34:21 -07:00
parent d3e33ba69c
commit 28fd7c4907
16 changed files with 470 additions and 24 deletions

View file

@ -92,7 +92,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
obj.send = function (x) {
if (obj.debugmode > 1) { console.log("KSend(" + x.length + "): " + rstr2hex(x)); }
obj.parent.send(x);
if (obj.parent != null) { obj.parent.send(x); }
}
// KVM Control.
@ -288,8 +288,10 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
str = str.substring(4);
if (str[0] != '.') {
console.log(str); //alert('KVM: ' + str);
obj.parent.consoleMessage = str;
if (obj.parent.onConsoleMessageChange) { obj.parent.onConsoleMessageChange(obj.parent, str); }
if (obj.parent != null) {
obj.parent.consoleMessage = str;
if (obj.parent.onConsoleMessageChange) { obj.parent.onConsoleMessageChange(obj.parent, str); }
}
} else {
console.log('KVM: ' + str.substring(1));
}