Side navigation
#2533 closed bug (worksforme)
Opened March 17, 2008 06:20AM UTC
Closed May 04, 2008 10:24AM UTC
Last modified March 15, 2012 02:00AM UTC
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: | |
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.