#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: |
Description
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)
Change History (5)
Changed 15 years ago by
Attachment: | uidatepicker.enable.reattachfocus.patch added |
---|
comment:1 Changed 15 years ago by
Owner: | changed from paul to iMarc |
---|
comment:2 Changed 15 years ago by
Priority: | critical → major |
---|
comment:3 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I couldn't reproduce this issue anymore.
Note: See
TracTickets for help on using
tickets.
datepicker focus reattachment