Bug Tracker

Modify

Ticket #2390 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

Datepicker v3.4 enable needs to reattach focus event

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

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

uidatepicker.enable.reattachfocus.patch Download (468 bytes) - added by mnichols 6 years ago.
Reattaches focus event during enable

Change History

Changed 6 years ago by mnichols

Reattaches focus event during enable

comment:1 Changed 6 years ago by mnichols

please disregard...submitted on ui

comment:2 Changed 6 years ago by davidserduke

  • Status changed from new to closed
  • Resolution set to invalid

Closed as requested by author.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.