From: Brant Burnett Date: Mon, 1 Feb 2010 20:12:54 +0000 (+0000) Subject: Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580... X-Git-Tag: 1.8rc2~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bae22fb74aa46fa7b59883a09b9987f7e6b27678;p=jquery-ui.git Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets) --- 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