Skip to content
Permalink
Browse files

Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fi…

…xed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.

This reverts commit 5f0a2f0.
  • Loading branch information
scottgonzalez committed Aug 10, 2011
1 parent 7c7d3df commit bb79b418717bbd4b2ae800fc8c6bbe39682a2283
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/jquery.ui.datepicker.js
@@ -934,7 +934,8 @@ $.extend(Datepicker.prototype, {
else {
this._hideDatepicker();
this._lastInput = inst.input[0];
inst.input.focus(); // restore focus
if (typeof(inst.input[0]) != 'object')
inst.input.focus(); // restore focus
this._lastInput = null;
}
},

0 comments on commit bb79b41

Please sign in to comment.
You can’t perform that action at this time.