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

Progress bars cannot be reset to 0 #1395

Closed
alexkalderimis opened this issue Dec 7, 2014 · 4 comments
Closed

Progress bars cannot be reset to 0 #1395

alexkalderimis opened this issue Dec 7, 2014 · 4 comments

Comments

@alexkalderimis
Copy link

I have a single progress bar that is rotating through multiple states, which I am setting with calls to node.progress({value: n, total: m}). These calls work as long as the value is >= 0, otherwise the progress bar only changes the total. I assume there is a truth check on the options object, rather than an 'in' check.

@alexkalderimis
Copy link
Author

I can provide a demo if that would help

@jlukic
Copy link
Member

jlukic commented Dec 8, 2014

Can you create a jsfiddle (fork link in readme)?

This is the easiest way for me to debug and patch.

@jlukic
Copy link
Member

jlukic commented Dec 8, 2014

Actually I think I've solved it without a test case. Can use jsfiddle to confirm though.

@jlukic jlukic added this to the 1.1.3 milestone Dec 8, 2014
@jlukic jlukic closed this as completed Dec 8, 2014
@alexkalderimis
Copy link
Author

Thanks - sorry, was busy yesterday evening and today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants