Bug Tracker

Ticket #2533 (closed bug: worksforme)

Opened 8 years ago

Last modified 4 years ago

datepicker disable/enable focus bug

Reported by: mnichols Owned by: iMarc
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: datepicker focus disable enable bug Cc:
Blocking: Blocked by:


When you disable an datepicker and then enable it again, the focus event is not fired because setting 'disabled' on an element makes this handler invalid (Firefox and IE...not sure about others). The fix is to reattach the focus event on $target. To test, start with datepicker disabled, then enable, then try to use. You get an js error. See patch please.


uidatepicker.enable.reattachfocus.patch Download (468 bytes) - added by mnichols 8 years ago.
datepicker focus reattachment

Change History

Changed 8 years ago by mnichols

datepicker focus reattachment

comment:1 Changed 8 years ago by paul

  • Owner changed from paul to iMarc

comment:2 Changed 8 years ago by paul

  • Priority changed from critical to major

comment:3 Changed 8 years ago by paul

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

I couldn't reproduce this issue anymore.

Note: See TracTickets for help on using tickets.