Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2392 closed bug (worksforme)

ui datepicker 3.4 enable needs to reattach focus

Reported by: mnichols Owned by: kbwood
Priority: major Milestone:
Component: ui.core 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 11 years ago.
reattach focus in enable

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by mnichols

reattach focus in enable

comment:1 Changed 11 years ago by kbwood

Owner: changed from paul to kbwood

comment:2 Changed 11 years ago by kbwood

Resolution: worksforme
Status: newclosed

Works for me in the latest version.

comment:3 Changed 11 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

Note: See TracTickets for help on using tickets.