Calendar no longer shows up behind elements with z-index lower than 100

This commit is contained in:
Frank Dillon 2008-06-13 20:42:38 +00:00
parent 51271ca8d6
commit 2ffca000de

View file

@ -74,6 +74,7 @@ YAHOO.WebGUI.Form.DatePicker = {
handleShow: function(e) {
var pos = YAHOO.util.Dom.getRegion(this.inputBox);
YAHOO.util.Dom.setXY(this.calendar.oDomContainer, [pos.left, pos.bottom]);
YAHOO.util.Dom.setStyle(this.calendar.oDomContainer,'z-index',100);
YAHOO.util.Dom.setStyle(this.timediv, 'display', ( this.useTime ? 'block' : 'none'));
},
handleHide: function(e) {