Skip to content

Commit 476777f

Browse files
committed
Merge pull request #218 from kborchers/bug_6775
Datepicker: Moved the setting of _datepickerShowing to after postProcess. Fixed #6775
2 parents d522dad + 88d8209 commit 476777f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ $.extend(Datepicker.prototype, {
648648
var showAnim = $.datepicker._get(inst, 'showAnim');
649649
var duration = $.datepicker._get(inst, 'duration');
650650
var postProcess = function() {
651-
$.datepicker._datepickerShowing = true;
652651
var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
653652
if( !! cover.length ){
654653
var borders = $.datepicker._getBorders(inst.dpDiv);
@@ -657,6 +656,7 @@ $.extend(Datepicker.prototype, {
657656
}
658657
};
659658
inst.dpDiv.zIndex($(input).zIndex()+1);
659+
$.datepicker._datepickerShowing = true;
660660

661661
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
662662
if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) )

0 commit comments

Comments
 (0)