Skip to content
Permalink
Browse files

Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (…

…Fixed #4580 Datepicker appears underneath other widgets)
  • Loading branch information
btburnett3 committed Feb 1, 2010
1 parent a8ef499 commit bae22fb74aa46fa7b59883a09b9987f7e6b27678
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit bae22fb

Please sign in to comment.
You can’t perform that action at this time.