From 6e7bd4d895930a181e98af22f36e6e823d1c0b5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 26 Aug 2012 17:21:23 -0400 Subject: [PATCH] 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. --- ui/jquery.ui.datepicker.js | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.39.5