mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Fixed clipboard icon showing when agent is offline.
This commit is contained in:
parent
b926196d0a
commit
a0680094a8
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue