diff options
author | Brant Burnett <btburnett3@gmail.com> | 2010-02-01 20:12:54 +0000 |
---|---|---|
committer | Brant Burnett <btburnett3@gmail.com> | 2010-02-01 20:12:54 +0000 |
commit | bae22fb74aa46fa7b59883a09b9987f7e6b27678 (patch) | |
tree | de2777394e9e503872bf74227642ca6b1681fdd3 | |
parent | a8ef49964850d11cfa89af3e358fb3bf93760096 (diff) | |
download | jquery-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.js | 1 |
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 |