Fixed remote keyboard input dialog for caps.

This commit is contained in:
Ylian Saint-Hilaire 2019-07-28 14:37:54 -07:00
parent 7008eaa998
commit 187b9ac5b1
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.3.8-r", "version": "0.3.8-s",
"keywords": [ "keywords": [
"Remote Management", "Remote Management",
"Intel AMT", "Intel AMT",

File diff suppressed because one or more lines are too long

View File

@ -5032,7 +5032,7 @@
// MeshAgent // MeshAgent
for (var i in txt) { for (var i in txt) {
var a = txt.charCodeAt(i), b = ltxt.charCodeAt(i); var a = txt.charCodeAt(i), b = ltxt.charCodeAt(i);
if ((a >= 65) && (a <= 90)) { if (((a >= 65) && (a <= 90)) || ((a >= 97) && (a <= 122))) {
if ((a == b) && (shift == false)) { x.push([desktop.m.KeyAction.DOWN, 16]); shift = true; } // LShift down if ((a == b) && (shift == false)) { x.push([desktop.m.KeyAction.DOWN, 16]); shift = true; } // LShift down
if ((a != b) && (shift == true)) { x.push([desktop.m.KeyAction.UP, 16]); shift = false; } // LShift up if ((a != b) && (shift == true)) { x.push([desktop.m.KeyAction.UP, 16]); shift = false; } // LShift up
} else if (DeskTypeTranslate[a]) { } else if (DeskTypeTranslate[a]) {