Skip to content

Conversation

@shivanan
Copy link

@shivanan shivanan commented Jan 7, 2015

This fixes two issues

  1. When clicking to select a file, then clicking a second time and
    cancelling it raises an incorrect error.
  2. When dropping files and then dropping a second set of files, and
    then trying to upload them, the first set of files get overwriten.

Solution is to remove the global files and files_count variables and
pass them as parameters instead.

eutech and others added 2 commits January 7, 2015 23:27
This fixes two issues

1. When clicking to select a file, then clicking a second time and
cancelling it raises an incorrect error.

2. When dropping files and then dropping a second set of files, and
then trying to upload them, the first set of files get overwriten.

Solution is to remove the global files and files_count variables and
pass them as parameters instead.
Pass the xhr object to the error handler in order to let the error
handling function upstream make use of the response in some way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants