aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrant Burnett <btburnett3@gmail.com>2010-02-01 20:12:54 +0000
committerBrant Burnett <btburnett3@gmail.com>2010-02-01 20:12:54 +0000
commitbae22fb74aa46fa7b59883a09b9987f7e6b27678 (patch)
treede2777394e9e503872bf74227642ca6b1681fdd3
parenta8ef49964850d11cfa89af3e358fb3bf93760096 (diff)
downloadjquery-ui-bae22fb74aa46fa7b59883a09b9987f7e6b27678.tar.gz
jquery-ui-bae22fb74aa46fa7b59883a09b9987f7e6b27678.zip
Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets)
-rw-r--r--ui/jquery.ui.datepicker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index 551b22551..38de5bc9d 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -642,6 +642,7 @@ $.extend(Datepicker.prototype, {
css({left: -borders[0], top: -borders[1],
width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
};
+ inst.dpDiv.zIndex($(input).zIndex()+1);
if ($.effects && $.effects[showAnim])
inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
else