User input fix.

Ylian Saint-Hilaire committed Apr 28, 2021 at 17:05 UTC 0c8a8d73f65ed01bc7f9acad97a0527a982694cd
1 file changed +1 -1
public/scripts/agent-desktop-0.0.2.js
+1 -1
@@ -398,7 +398,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
398 }
399
400 // Send remote input lock. 0 = Unlock, 1 = Lock, 2 = Query
401 - obj.SendRemoteInputLock = function (code) { obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x05, code)); }
401 + obj.SendRemoteInputLock = function (code) { obj.send(String.fromCharCode(0x00, 87, 0x00, 0x05, code)); }
402
403 obj.SendMessage = function (msg) {
404 if (obj.State == 3) obj.send(String.fromCharCode(0x00, 0x11) + obj.shortToStr(4 + msg.length) + msg); // 0x11 = 17 MNG_KVM_MESSAGE