* Removed z-index manipulation from datepicker. The old behavior was causing the...
authorArt Cancro <ajc@citadel.org>
Mon, 28 Jun 2010 20:47:38 +0000 (20:47 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 28 Jun 2010 20:47:38 +0000 (20:47 +0000)
webcit/static/datepicker-dev.js
webcit/static/datepicker.css
webcit/static/webcit.css

index 71095caadfebad96cec3acc73bea49a02dc1a93b..da7918a2ea497b26acd02dbc941b279609ea93f6 100644 (file)
@@ -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 = '<table><thead><tr>'+((this._enableYearBrowse) ? '<th width="10px" id="'+this._id_datepicker_prev_year+'" style="cursor: pointer;">&nbsp;&lt;&nbsp;</th>' : '')+'<th width="10px" id="'+this._id_datepicker_prev+'" style="cursor: pointer;">&nbsp;&lt;&lt;&nbsp;</th><th id="'+this._id_datepicker_hdr+'" colspan="'+((this._enableYearBrowse) ? 3 : 5 )+'"></th><th width="10px" id="'+this._id_datepicker_next+'" style="cursor: pointer;">&nbsp;&gt;&gt;&nbsp;</th>'+((this._enableYearBrowse) ? '<th width="10px" id="'+this._id_datepicker_next_year+'" style="cursor: pointer;">&nbsp;&gt;&nbsp;</th>' : '')+'</tr></thead><tbody id="'+this._id_datepicker+'-tbody"></tbody><tfoot><tr><td colspan="7" id="'+this._id_datepicker_ftr+'"></td></tr><tr><td colspan="7" id="'+this._id_datepicker_rst+'"></td></tr></tfoot></table>';
   /* finally declare the event listener on input field */
   Event.observe(this._relative, 
index 53dc5d1d6656194e058cc3be4fabe4a5f4aa6e9f..ec5d2b2cb304fe7a2d9fd2698e244b02bf1acd47 100644 (file)
@@ -15,6 +15,7 @@ div.datepicker {
  background: #FFFFFF;
  font-size: 10px;
  padding: 0px;
+ z-index: 4;
 }
 div.datepicker table {
  font-size: 10px;
index b77b472daf0b2eb64f3b28c3db38cb7f3149f24e..d71112296a02c6c45f305d0594438179bb31c4f9 100644 (file)
@@ -579,7 +579,7 @@ body, #global {
        position: absolute;
        top: 0; 
        right: 0;
-       z-index: 2;
+       z-index: 4;
        padding: 3px;
 }