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

Reset global progress in afterAll? #162

Open
chrfin opened this issue May 6, 2014 · 0 comments
Open

Reset global progress in afterAll? #162

chrfin opened this issue May 6, 2014 · 0 comments

Comments

@chrfin
Copy link

chrfin commented May 6, 2014

I think it is strange if the upload of files is finished and you start another batch by draging on new files, that the progress will continue including the old files. To change that I altered the afterAll method:

    function afterAll() {
      global_progress = [];
      return opts.afterAll();
    }

Is this a valid solution or can this cause problems?

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

No branches or pull requests

1 participant