From 1deefa6615214b0cf5c58be01d84d0fe82268f47 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 28 Jun 2010 20:47:38 +0000 Subject: [PATCH] * Removed z-index manipulation from datepicker. The old behavior was causing the datepicker to pop-under in IE, which is of course not the desired effect. --- webcit/static/datepicker-dev.js | 2 +- webcit/static/datepicker.css | 1 + webcit/static/webcit.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webcit/static/datepicker-dev.js b/webcit/static/datepicker-dev.js index 71095caad..da7918a2e 100644 --- a/webcit/static/datepicker-dev.js +++ b/webcit/static/datepicker-dev.js @@ -321,7 +321,7 @@ DatePicker.prototype = { this._div = new Element('div', { id : this._id_datepicker, className : 'datepicker', - style : 'display: none; z-index:'+this._zindex }); + style : 'display: none;' }); this._div.innerHTML = ''+((this._enableYearBrowse) ? '' : '')+''+((this._enableYearBrowse) ? '' : '')+'
 <  <<  >>  > 
'; /* finally declare the event listener on input field */ Event.observe(this._relative, diff --git a/webcit/static/datepicker.css b/webcit/static/datepicker.css index 53dc5d1d6..ec5d2b2cb 100644 --- a/webcit/static/datepicker.css +++ b/webcit/static/datepicker.css @@ -15,6 +15,7 @@ div.datepicker { background: #FFFFFF; font-size: 10px; padding: 0px; + z-index: 4; } div.datepicker table { font-size: 10px; diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index b77b472da..d71112296 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -579,7 +579,7 @@ body, #global { position: absolute; top: 0; right: 0; - z-index: 2; + z-index: 4; padding: 3px; } -- 2.39.2