1f0ce157edfb0e3bb6a8a70b2b68bd8f3e04fc6b
tdreszer
  Thu Aug 25 13:59:55 2011 -0700
Removed opacity from HGStyle waitMask, and put it into utils.js.  This will satisfy Kate and will keep ie special casing in one place.
diff --git src/hg/js/utils.js src/hg/js/utils.js
index 6ef9ad1..1cbb476 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -928,35 +928,35 @@
 { // Clears the waitMask
     var  waitMask = $('#waitMask');
     if( waitMask != undefined )
         $(waitMask).hide();
 }
 
 function waitMaskSetup(timeOutInMs)
 { // Sets up the waitMask to block page manipulation until cleared
 
     // Find or create the waitMask (which masks the whole page)
     var  waitMask = $('#waitMask');
     if( waitMask == undefined || waitMask.length != 1) {
         // create the waitMask
         $("body").append("<div id='waitMask' class='waitMask');'></div>");
         waitMask = $('#waitMask');
+    }
+    $(waitMask).css({opacity:0.0,display:'block',top: '0px', height: $(document).height().toString() + 'px' });
         // Special for IE, since it takes so long, make mask obvious
         if ($.browser.msie)
             $(waitMask).css({opacity:0.4,backgroundColor:'gray'});
-    }
-    $(waitMask).css('display','block');
 
     // Things could fail, so always have a timeout.
     if(timeOutInMs == undefined || timeOutInMs ==0)
         timeOutInMs = 30000; // IE can take forever!
 
     if (timeOutInMs > 0)
         setTimeout('waitMaskClear();',timeOutInMs); // Just in case
 
     return waitMask;  // The caller could add css if they wanted.
 }
 
 function _launchWaitOnFunction()
 { // should ONLY be called by waitOnFunction()
   // Launches the saved function
     var func = gWaitFunc;