mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 06:34:54 +03:00
fix windows arm terminal
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
05ee40c591
commit
fbe1445691
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
@ -6287,7 +6287,7 @@
|
|||||||
|
|
||||||
contextelement = elem;
|
contextelement = elem;
|
||||||
var contextmenudiv = document.getElementById('termShellContextMenu'); // Windows options (Power Shell)
|
var contextmenudiv = document.getElementById('termShellContextMenu'); // Windows options (Power Shell)
|
||||||
if (currentNode.agent.id > 4) { contextmenudiv = document.getElementById('termShellContextMenuLinux'); } // Non-Windows options
|
if (currentNode.agent.id > 4 && !isWindowsNode(currentNode)) { contextmenudiv = document.getElementById('termShellContextMenuLinux'); } // Non-Windows options
|
||||||
if (currentNode.agent.id == 34) { contextmenudiv = document.getElementById('termShellContextMenu2'); } // Windows MeshCentral Assistant
|
if (currentNode.agent.id == 34) { contextmenudiv = document.getElementById('termShellContextMenu2'); } // Windows MeshCentral Assistant
|
||||||
showContextMenuDiv(contextmenudiv, event.pageX, event.pageY);
|
showContextMenuDiv(contextmenudiv, event.pageX, event.pageY);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user