mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-15 08:36:05 -04:00
Fixed clipboard icon showing when agent is offline.
This commit is contained in:
parent
b926196d0a
commit
a0680094a8
@ -7684,8 +7684,8 @@
|
|||||||
QV('DeskTimer', deskState == 3);
|
QV('DeskTimer', deskState == 3);
|
||||||
|
|
||||||
// Enable browser clipboard read if supported
|
// Enable browser clipboard read if supported
|
||||||
QV('DeskClipboardOutButton', inputAllowed && (navigator.clipboard != null) && (navigator.clipboard.readText != null));
|
QV('DeskClipboardOutButton', online && inputAllowed && (navigator.clipboard != null) && (navigator.clipboard.readText != null));
|
||||||
QV('DeskClipboardInButton', inputAllowed && (navigator.clipboard != null) && (navigator.clipboard.writeText != null));
|
QV('DeskClipboardInButton', online && inputAllowed && (navigator.clipboard != null) && (navigator.clipboard.writeText != null));
|
||||||
|
|
||||||
if (deskState != 3) { QV('DeskInputLockedButton', false); QV('DeskInputUnLockedButton', false); }
|
if (deskState != 3) { QV('DeskInputLockedButton', false); QV('DeskInputUnLockedButton', false); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user