Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.

This commit is contained in:
Garrison Locke 2011-05-11 14:20:28 -04:00 committed by Scott González
parent 83424c6c33
commit a645630eba

View File

@ -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);
}
},