Skip to content

Commit a645630

Browse files
gplockescottgonzalez
authored andcommitted
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
1 parent 83424c6 commit a645630

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,8 @@ $.extend(Datepicker.prototype, {
455455
inst.settings.maxDate = this._formatDate(inst, maxDate);
456456
this._attachments($(target), inst);
457457
this._autoSize(inst);
458-
this._setDateDatepicker(target, date);
458+
this._setDate(inst, date);
459+
this._updateAlternate(inst);
459460
this._updateDatepicker(inst);
460461
}
461462
},

0 commit comments

Comments
 (0)