Skip to content
New issue

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

bug fix in multiple selections/drops #171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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