]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580...
authorBrant Burnett <btburnett3@gmail.com>
Mon, 1 Feb 2010 20:12:54 +0000 (20:12 +0000)
committerBrant Burnett <btburnett3@gmail.com>
Mon, 1 Feb 2010 20:12:54 +0000 (20:12 +0000)
ui/jquery.ui.datepicker.js

index 551b2255173136e663f2bb9a93915da01406eb28..38de5bc9d94632dad47f7451ebe36b822a7211e0 100644 (file)
@@ -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