Started work on login token.
Ylian Saint-Hilaire committed
Apr 15, 2021 at 15:38 UTC
fe3af51d40bb630b17357f8b5e123a03b4e042e1
1 file changed
+4
-1
public/scripts/agent-desktop-0.0.2.js
+4
-1
@@ -407,7 +407,10 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
407
408
obj.SendStringUnicode = function (str) {
409
if (obj.State != 3) return;
410
- for (var i = 0; i < str.length; i++) { obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 0) + ShortToStr(str.charCodeAt(i))); }
410
+ for (var i = 0; i < str.length; i++) {
411
+ obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 0) + ShortToStr(str.charCodeAt(i)));
412
+ obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 1) + ShortToStr(str.charCodeAt(i)));
413
+ }
414
}
415
416
obj.SendKeyUnicode = function (action, val) {