mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed MeshRelay access control
This commit is contained in:
parent
da45d4f80f
commit
3c33512053
6 changed files with 103 additions and 56 deletions
|
@ -263,7 +263,9 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
|
|||
if (action == null) return;
|
||||
if (!event) { var event = window.event; }
|
||||
var kc = event.keyCode;
|
||||
if (kc == 0x3B) kc = 0xBA; // ';' key
|
||||
if (kc == 59) kc = 186; // Correct for ';' key in Firefox
|
||||
if (kc == 61) kc = 187; // Correct for '=' key in Firefox
|
||||
if (kc == 173) kc = 189; // Correct for '-' key in Firefox
|
||||
obj.SendKeyMsgKC(action, kc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue