From 03d71b32c6a257c79964b364d2c7986e7cc50374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 5 Jan 2021 10:33:51 +0100 Subject: [PATCH] Attempt to copy file on dropping it to deck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/AttachmentDragAndDrop.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/AttachmentDragAndDrop.vue b/src/components/AttachmentDragAndDrop.vue index f8f7c52db..9fc790ad4 100644 --- a/src/components/AttachmentDragAndDrop.vue +++ b/src/components/AttachmentDragAndDrop.vue @@ -109,6 +109,7 @@ export default { }, methods: { handleDropFiles(event) { + event.dataTransfer.dropEffect = 'copy' this.isDraggingOver = false if (this.isReadOnly) { return