Search and Top Navigation
#7932 closed bug (notabug)
Opened December 02, 2011 09:58AM UTC
Closed December 02, 2011 12:37PM UTC
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
Attachments (0)
Change History (1)
Changed December 02, 2011 12:37PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
You can't just mess with internal data like the hasDatepicker class and then try to initialize the datepicker again.