diff options
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryInternal.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryInternal.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index a355b85f092..f78d0997ad9 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -96,7 +96,10 @@ export default { if (window.isSecureContext) { await navigator.clipboard.writeText(this.internalLink) } else { // nothing to lose by trying the fallback - document.execCommand('copy') + window.prompt( + t('Could not copy to clipboard, please copy manually:'), + this.internalLink + ) } showSuccess(t('files_sharing', 'Link copied')) this.$refs.shareEntrySimple.$refs.actionsComponent.$el.focus() |