Opened 14 years ago

Closed 14 years ago

#3619 closed bug (fixed)

Setting a date pops up the datepicker window

Reported by: deebo Owned by:
Priority: minor Milestone: 1.7
Component: ui.datepicker Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


When using datepicker as a "container for dates", where outside elements can affect its selected date (like setting predetermined date ranges), using

$('#mypicker').datepicker("setDate", new Date());

opens the datepicker window for soem reason, should atleast be possible to turn this behaviour off.

Change History (3)

comment:1 Changed 14 years ago by Jörn Zaefferer


comment:2 Changed 14 years ago by Jörn Zaefferer

Milestone: 1.next1.6

comment:3 Changed 14 years ago by kbwood

Resolution: fixed
Status: newclosed

Fixed in the HEAD. At the end of _updateDatepicker, replace the focus test with:

if ($.datepicker._curInst == inst)


Note: See TracTickets for help on using tickets.