Bug Tracker

Ticket #2533: uidatepicker.enable.reattachfocus.patch

File uidatepicker.enable.reattachfocus.patch, 468 bytes (added by mnichols, 8 years ago)

datepicker focus reattachment

  • ui.datepicker.js

     
    201201                var $target = target;
    202202                this._disabledInputs = $.map(this._disabledInputs,
    203203                        function(value) { return (value == $target ? null : value); }); // delete entry
     204        $target.focus(this._showDatepicker);                   
    204205        },
    205206
    206207        /* Disable the date picker to a jQuery selection.