aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-06 10:29:02 -0700
committerScott González <scott.gonzalez@gmail.com>2011-05-06 10:29:02 -0700
commit476777f1e926d56547291abda642683513f92610 (patch)
tree0862d8469b32449e9724fa1a87eba02a83706ba4
parentd522dad71862c1633bae8281453936dea38c597f (diff)
parent88d8209fddf083c9a2eeb3ad47abf1bd5746aadb (diff)
downloadjquery-ui-476777f1e926d56547291abda642683513f92610.tar.gz
jquery-ui-476777f1e926d56547291abda642683513f92610.zip
Merge pull request #218 from kborchers/bug_6775
Datepicker: Moved the setting of _datepickerShowing to after postProcess. Fixed #6775
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index 92c005d19..12323672a 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -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 ] ) )