Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2533 closed bug (worksforme)

datepicker disable/enable focus bug

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


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.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by mnichols

datepicker focus reattachment

comment:1 Changed 15 years ago by paul

Owner: changed from paul to iMarc

comment:2 Changed 15 years ago by paul

Priority: criticalmajor

comment:3 Changed 15 years ago by paul

Resolution: worksforme
Status: newclosed

I couldn't reproduce this issue anymore.

comment:4 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

Note: See TracTickets for help on using tickets.