You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (this.files.length) {
var _i, _len;
for (_i = 0, _len = this.files.length; _i < _len - 1; _i++) // -1 to exclude current file
{
if(this.files[_i].name === file.name && this.files[_i].size === file.size && this.files[_i].lastModified.toString() === file.lastModified.toString())
{
this.removeFile(file);
}
}
}
could this just be a setting, like preventDuplicates: true (which does not seem to exist in the 6beta codebase).
A requirement should be that the associated events are not fired for the duplicate file
Describe the bug
If the user drags the file, then Dropzone again uploads a duplicate file.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do not create duplicate files if the user drags the file.
Screenshots & video recording
Browser / OS:
Additional context
Duplicate files created with different names
The text was updated successfully, but these errors were encountered: