From: Scott González Date: Sun, 26 Aug 2012 21:21:23 +0000 (-0400) Subject: Revert "Datepicker: Modified _updateDatepicker to not update display if updated insta... X-Git-Tag: 1.9.0~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e7bd4d895930a181e98af22f36e6e823d1c0b5a;p=jquery-ui.git 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 b4ef2f7ebb1162f75d8fa3276d73e4746bcace84. --- diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index cd4ffe3ee..f72b15d1f 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -708,9 +708,6 @@ $.extend(Datepicker.prototype, { /* Generate the date picker content. */ _updateDatepicker: function(inst) { - if ($.datepicker._curInst && inst != $.datepicker._curInst) { - return; - } this.maxRows = 4; //Reset the max number of rows being displayed (see #7043) var borders = $.datepicker._getBorders(inst.dpDiv); instActive = inst; // for delegate hover events