Skip to content

Commit

Permalink
Merge pull request #2701 from nextcloud/bugfix/noid/upload-drag
Browse files Browse the repository at this point in the history
Fix uploading files by drag and drop
  • Loading branch information
juliushaertl authored Jan 5, 2021
2 parents 7f311de + d4a39b2 commit a64dc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentDragAndDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default {
}
const files = event.dataTransfer.files
for (const file of files) {
this.onLocalAttachmentSelected(file)
this.onLocalAttachmentSelected(file, 'file')
}
event.dataTransfer.value = ''
},
Expand Down

0 comments on commit a64dc7c

Please sign in to comment.