#5128 closed bug (fixed)
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()
Note: See
TracTickets for help on using
tickets.
Fixed in r3786.