Skip to main content

Search and Top Navigation

#3619 closed bug (fixed)

Opened November 24, 2008 12:37PM UTC

Closed December 07, 2008 11:39PM UTC

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:
Description

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.

Attachments (0)
Change History (3)

Changed November 30, 2008 01:37PM UTC by jzaefferer comment:1

milestone: TBD1.next

Changed November 30, 2008 01:37PM UTC by jzaefferer comment:2

milestone: 1.next1.6

Changed December 07, 2008 11:39PM UTC by kbwood comment:3

resolution: → fixed
status: newclosed

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

if ($.datepicker._curInst == inst)

$(inst.input[0]).focus();