Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2392 closed bug (worksforme)

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)

uidatepicker.enable.reattachfocus.patch (468 bytes) - added by mnichols 12 years ago.
reattach focus in enable

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by mnichols

reattach focus in enable

comment:1 Changed 12 years ago by kbwood

Owner: changed from paul to kbwood

comment:2 Changed 12 years ago by kbwood

Resolution: worksforme
Status: newclosed

Works for me in the latest version.

Note: See TracTickets for help on using tickets.