Skip to main content

Search and Top Navigation

#2533 closed bug (worksforme)

Opened March 17, 2008 06:20AM UTC

Closed May 04, 2008 10:24AM UTC

Last modified May 24, 2008 03:39AM UTC

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 (0)
Change History (4)

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.

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.4

Milestone 1.2.4 deleted