From 991c23c5f944d22aa46bbadf6092c79635d733a4 Mon Sep 17 00:00:00 2001 From: si458 Date: Wed, 17 Jul 2024 13:43:35 +0100 Subject: [PATCH] fix remote input lock button from desktop views #4542 Signed-off-by: si458 --- views/default.handlebars | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 429ceb54..1c3a501e 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -759,7 +759,7 @@ - +
@@ -9034,8 +9034,8 @@ desktop.onMetadataChange = function(metadata) { updateMetadata(desktop, 'deskmetadata'); } if ((features2 & 0x2000) != 0) desktop.m.stopInput = true; if (desktop && desktop.m.mouseCursorActive) { desktop.m.mouseCursorActive(true); } - QV('DeskInputLockedButton', desktop.m.RemoteInputLock === 1); - QV('DeskInputUnLockedButton', desktop.m.RemoteInputLock === 0); + QV('DeskInputLockedButton', desktop.m.RemoteInputLock == true); + QV('DeskInputUnLockedButton', desktop.m.RemoteInputLock == false); desktop.m.onRemoteInputLockChanged = function(obj, state) { QV('DeskInputLockedButton', state); QV('DeskInputUnLockedButton', !state); } desktop.m.onKeyboardStateChanged = function(obj, state) { QS('p11numlock').display = ((state & 1) ? 'inline-block' : 'none');