Skip to content

Commit

Permalink
Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (…
Browse files Browse the repository at this point in the history
…Fixed #4580 Datepicker appears underneath other widgets)
  • Loading branch information
btburnett3 committed Feb 1, 2010
1 parent a8ef499 commit bae22fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/jquery.ui.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bae22fb

Please sign in to comment.