]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent... 218/head
authorkborchers <k_borchers@yahoo.com>
Fri, 6 May 2011 15:40:43 +0000 (10:40 -0500)
committerkborchers <k_borchers@yahoo.com>
Fri, 6 May 2011 15:40:43 +0000 (10:40 -0500)
ui/jquery.ui.datepicker.js

index 92c005d19a4d5897d2d5eeaf0c0570c571288fe2..12323672ab5e08accf9c25e04a5fc3870a8f9c37 100644 (file)
@@ -648,7 +648,6 @@ $.extend(Datepicker.prototype, {
                        var showAnim = $.datepicker._get(inst, 'showAnim');
                        var duration = $.datepicker._get(inst, 'duration');
                        var postProcess = function() {
-                               $.datepicker._datepickerShowing = true;
                                var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
                                if( !! cover.length ){
                                        var borders = $.datepicker._getBorders(inst.dpDiv);
@@ -657,6 +656,7 @@ $.extend(Datepicker.prototype, {
                                }
                        };
                        inst.dpDiv.zIndex($(input).zIndex()+1);
+                       $.datepicker._datepickerShowing = true;
 
                        // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
                        if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) )