Skip to content

Commit

Permalink
Merge pull request #4550 from nextcloud/fix-uploading-same-file-twice…
Browse files Browse the repository at this point in the history
…-in-a-row-in-chromium

Fix uploading same file twice in a row in Chromium
  • Loading branch information
PVince81 authored Nov 9, 2020
2 parents fa131ec + 40765c3 commit 1d1f2cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/NewMessageForm/NewMessageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ export default {
const files = Object.values(event.target.files)

this.handleFiles(files)

// Clear input to ensure that the change event will be emitted if
// the same file is picked again.
event.target.value = ''
},

/**
Expand Down

0 comments on commit 1d1f2cc

Please sign in to comment.