Ticket #5128 (closed bug: fixed)

Opened 5 years ago

Last modified 23 months ago

Datepicker opens when setDate called

Reported by: Rob Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.8rc1
Keywords: Cc:
Blocking: Blocked by:

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()

Change History

comment:1 Changed 5 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3786.

comment:2 Changed 23 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.