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

Not providing a startDate pegs the CPU to 100% and loops indefinitely #224

Closed
igorT opened this issue Oct 18, 2012 · 2 comments
Closed

Not providing a startDate pegs the CPU to 100% and loops indefinitely #224

igorT opened this issue Oct 18, 2012 · 2 comments

Comments

@igorT
Copy link

igorT commented Oct 18, 2012

There should be a default start/end date.

@igorT
Copy link
Author

igorT commented Oct 18, 2012

Actually, the infinite loop happens if you pass in an Invalid Date.

@jonathonadler
Copy link

I think this might be related to the same issue I found: #141

See if this helps...

lakenen added a commit to lakenen/bootstrap-datepicker that referenced this issue Nov 29, 2012
…cker into develop

* 'master' of git://github.com/eternicode/bootstrap-datepicker:
  this fixes an issue with IE7 that causes a Expected identifier, string or numbererror in said browser. Impact on other browsers is 0.
  Remove extra comma
  Fix whitespace
  Document remove function
  Detach events and remove Datepicker object in remove function
  Extract event handler manip to separate functions
  Make force-parsing optional
  Force-parse invalid dates into valid input values when picker is hidden
  Use local date parts when building the default UTC date
  Remove debugging cruft >_<
  Actually, there's a better solution to that
  Prevent infinite loop with invalid values
  Prevent infinite loop on invalid month (fixes uxsolutions#224)
  Fix for uxsolutions#214: javascript error for ms locale in IE8
  Add a remove function to the datepicker object
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

3 participants