Opened 10 years ago
Closed 10 years ago
#7932 closed bug (notabug)
datepicker shows 1900-01-01 when used with jquery.Live
Reported by: | norbi771 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Datepicker shows wrong date when used with jQuery Live example is available here: http://jsbin.com/akefaf
When you click first time on the input then picker shows current date, you can change months and everything seems fine. Now click outside the input, somewhere on the page, and then click on the input again ... the date is still fine, now change month (next, prev.), the date in picker will be changed to 1900-01-01.
This bug exists only when used together with jquery.live
Hope you can fix it somehow. Brgs
Note: See
TracTickets for help on using
tickets.
You can't just mess with internal data like the hasDatepicker class and then try to initialize the datepicker again.