diff --git a/public/images/icon-share2.png b/public/images/icon-share2.png new file mode 100644 index 00000000..887f6234 Binary files /dev/null and b/public/images/icon-share2.png differ diff --git a/public/styles/style.css b/public/styles/style.css index c60b5eff..0d166cfa 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -2627,7 +2627,7 @@ a { -ms-grid-row: 4; } -#DeskChatButton, #DeskNotifyButton, #DeskOpenWebButton, #DeskBackgroundButton, #DeskSaveImageButton, #DeskRecordButton, #DeskClipboardInButton, #DeskClipboardOutButton, #DeskRefreshButton, #DeskLockButton, #DeskInputLockedButton, #DeskInputUnLockedButton { +#DeskChatButton, #DeskNotifyButton, #DeskOpenWebButton, #DeskBackgroundButton, #DeskSaveImageButton, #DeskRecordButton, #DeskClipboardInButton, #DeskClipboardOutButton, #DeskRefreshButton, #DeskLockButton, #DeskInputLockedButton, #DeskInputUnLockedButton, #DeskGuestShareButton { float: right; margin-top: 1px; margin-right: 4px; diff --git a/views/default.handlebars b/views/default.handlebars index d2d5c417..3b431f99 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -681,6 +681,7 @@ +
@@ -6858,7 +6859,12 @@ if ((serverinfo != null) && (serverinfo.altmessenging != null) && (meshrights & 8) && (connectivity & 1)) { for (var i in serverinfo.altmessenging) { x += ''; } } - if ((serverinfo.guestdevicesharing !== false) && (node.agent != null) && (node.agent.caps & 3) && (connectivity & 1) && ((meshrights & 0x80008) == 0x80008) && ((meshrights == 0xFFFFFFFF) || ((meshrights & 0x1000) == 0))) { x += ''; } + if ((serverinfo.guestdevicesharing !== false) && (node.agent != null) && (node.agent.caps & 3) && (connectivity & 1) && ((meshrights & 0x80008) == 0x80008) && ((meshrights == 0xFFFFFFFF) || ((meshrights & 0x1000) == 0))) { + x += ''; + QV('DeskGuestShareButton', true); + } else { + QV('DeskGuestShareButton', false); + } // Custom UI if ((customui != null) && (customui.devicebuttons != null)) {