Opened 9 years ago

Closed 9 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

Change History (1)

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

You can't just mess with internal data like the hasDatepicker class and then try to initialize the datepicker again.

Note: See TracTickets for help on using tickets.