mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Revert "Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance." This revert fixes a more serious problem: Fixes #8522 - Calendar doesn't render when moving between datepicker controls.
This reverts commit b4ef2f7ebb
.
This commit is contained in:
parent
767af39f7f
commit
6e7bd4d895
3
ui/jquery.ui.datepicker.js
vendored
3
ui/jquery.ui.datepicker.js
vendored
@ -708,9 +708,6 @@ $.extend(Datepicker.prototype, {
|
|||||||
|
|
||||||
/* Generate the date picker content. */
|
/* Generate the date picker content. */
|
||||||
_updateDatepicker: function(inst) {
|
_updateDatepicker: function(inst) {
|
||||||
if ($.datepicker._curInst && inst != $.datepicker._curInst) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
|
this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
|
||||||
var borders = $.datepicker._getBorders(inst.dpDiv);
|
var borders = $.datepicker._getBorders(inst.dpDiv);
|
||||||
instActive = inst; // for delegate hover events
|
instActive = inst; // for delegate hover events
|
||||||
|
Loading…
Reference in New Issue
Block a user