Skip to main content

Bug Tracker

Side navigation

#2392 closed bug (worksforme)

Opened February 22, 2008 06:07PM UTC

Closed February 25, 2008 04:04AM UTC

ui datepicker 3.4 enable needs to reattach focus

Reported by: mnichols Owned by: kbwood
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: ui datepicker 3.4 enable Cc:
Blocked by: Blocking:
Description

$("#input").datepicker("enable") needs to reattach the focus event since disabling the control removes the focus event . The patch simply reattaches the focus event to the target upon enable.

To test, start the page with datepicker("disable"), then try to datepicker("enable"). You'll find the focus event isn't applied to the target anymore.

Attachments (1)
Change History (2)

Changed February 25, 2008 04:04AM UTC by kbwood comment:1

owner: paulkbwood

Changed February 25, 2008 04:04AM UTC by kbwood comment:2

resolution: → worksforme
status: newclosed

Works for me in the latest version.