We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When there is more than 1 file to upload, calling upload.reset() does not clear the upload list fully.
upload.reset()
The text was updated successfully, but these errors were encountered:
This seems to be due to a bug in this code:
self.reset = function() { var files = inputFiles.getFiles(); for (var i = 0; i < files.length; i++){ inputFiles.remove(files[i]); } };
This essentially deletes only half of the entries.
To fix it, replace with:
self.reset = function() { var files = inputFiles.getFiles(); for (var i = files.length - 1; i >= 0; i--){ inputFiles.remove(files[i]); } };
Sorry, something went wrong.
No branches or pull requests
When there is more than 1 file to upload, calling
upload.reset()
does not clear the upload list fully.The text was updated successfully, but these errors were encountered: