From bae22fb74aa46fa7b59883a09b9987f7e6b27678 Mon Sep 17 00:00:00 2001 From: Brant Burnett Date: Mon, 1 Feb 2010 20:12:54 +0000 Subject: [PATCH] Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets) --- ui/jquery.ui.datepicker.js | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5