trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

TimePicker Slider Error in version 1.6.1 #860

Open bpwill opened 8 years ago

bpwill commented 8 years ago

I downloaded and added this plugin to my project, and seem to have found an issue. When the time picker comes up, you can use the sliders to set the time and press Done. You can also just press the Now button and get the current time into the form when pressing Done.

But if you use the sliders and then press Now, the output changes to aN:aN:aN. If you try to move the slider after this, I see the error closestHandle is undefined in Firefox.

I'm using it with the following options: .timepicker({ timeFormat: 'HH:mm:ss' }).

This error can be duplicated on the sample page on all the examples using a time picker.

bpwill commented 8 years ago

UPDATE: I applied the same fix found in issue 845, but note that this was a different issue. I did not have the error described in that issue.