Side navigation
Ticket #2392: uidatepicker.enable.reattachfocus.patch
File uidatepicker.enable.reattachfocus.patch, 0.5 KB (added by mnichols, February 22, 2008 06:08PM UTC)
reattach focus in enable
Index: ui.datepicker.js
===================================================================
--- ui.datepicker.js (revision 4813)
+++ ui.datepicker.js (working copy)
@@ -201,6 +201,7 @@
var $target = target;
this._disabledInputs = $.map(this._disabledInputs,
function(value) { return (value == $target ? null : value); }); // delete entry
+ $target.focus(this._showDatepicker);
},
/* Disable the date picker to a jQuery selection.
Download in other formats:
Original Format
File uidatepicker.enable.reattachfocus.patch, 0.5 KB (added by mnichols, February 22, 2008 06:08PM UTC)
reattach focus in enable
Index: ui.datepicker.js
===================================================================
--- ui.datepicker.js (revision 4813)
+++ ui.datepicker.js (working copy)
@@ -201,6 +201,7 @@
var $target = target;
this._disabledInputs = $.map(this._disabledInputs,
function(value) { return (value == $target ? null : value); }); // delete entry
+ $target.focus(this._showDatepicker);
},
/* Disable the date picker to a jQuery selection.