Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.js')
-rw-r--r--src/document.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/document.js b/src/document.js
index 6033943d..e4eed520 100644
--- a/src/document.js
+++ b/src/document.js
@@ -266,6 +266,10 @@ const documentsMain = {
PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Menu_Item', { id: 'shareas' })
}
+ if (Config.get('userId') === null) {
+ PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Menu_Item', { id: 'insertgraphicremote' })
+ }
+
break
case 'Failed':
// Loading failed but editor shows the error