Skip to main content

Bug Tracker

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:

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

Changed March 17, 2008 09:28AM UTC by paul comment:1

owner: pauliMarc

Changed May 03, 2008 08:44AM UTC by paul comment:2

priority: criticalmajor

Changed May 04, 2008 10:24AM UTC by paul comment:3

resolution: → worksforme
status: newclosed

I couldn't reproduce this issue anymore.