Search and Top Navigation
#5128 closed bug (fixed)
Opened February 04, 2010 10:54AM UTC
Closed February 06, 2010 11:07PM UTC
Last modified October 11, 2012 09:15PM UTC
Datepicker opens when setDate called
Reported by: | Rob | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.datepicker | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The last datepicker on the page to have focus will receive focus and open when the date on it is changed (e.g. by a call to setDate when a button is clicked). This shouldn't happen.
This can be fixed by adding the check
&& $.datepicker._datepickerShowing
in the if statement before
$(inst.input[0]).focus()
Fixed in r3786.