mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
(cherry picked from commit a645630eba
)
This commit is contained in:
parent
03ce9fb8cd
commit
3edda96f2a
3
ui/jquery.ui.datepicker.js
vendored
3
ui/jquery.ui.datepicker.js
vendored
@ -455,7 +455,8 @@ $.extend(Datepicker.prototype, {
|
|||||||
inst.settings.maxDate = this._formatDate(inst, maxDate);
|
inst.settings.maxDate = this._formatDate(inst, maxDate);
|
||||||
this._attachments($(target), inst);
|
this._attachments($(target), inst);
|
||||||
this._autoSize(inst);
|
this._autoSize(inst);
|
||||||
this._setDateDatepicker(target, date);
|
this._setDate(inst, date);
|
||||||
|
this._updateAlternate(inst);
|
||||||
this._updateDatepicker(inst);
|
this._updateDatepicker(inst);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user