Skip to content

Commit

Permalink
Datepicker: Removed duplicate call to _updateDatepicker when changing…
Browse files Browse the repository at this point in the history
… option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.

(cherry picked from commit a645630)
  • Loading branch information
gplocke authored and scottgonzalez committed May 11, 2011
1 parent 03ce9fb commit 3edda96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/jquery.ui.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ $.extend(Datepicker.prototype, {
inst.settings.maxDate = this._formatDate(inst, maxDate);
this._attachments($(target), inst);
this._autoSize(inst);
this._setDateDatepicker(target, date);
this._setDate(inst, date);
this._updateAlternate(inst);
this._updateDatepicker(inst);
}
},
Expand Down

0 comments on commit 3edda96

Please sign in to comment.