Author: dward
Date: 2007-10-17 03:18:17 +0200 (Wed, 17 Oct 2007)
New Revision: 5412

Modified:
   xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js
Log:
- CURRIKI-1009
 - One more fix for IE


Modified: xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js
===================================================================
--- xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js    2007-10-17 
01:17:28 UTC (rev 5411)
+++ xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js    2007-10-17 
01:18:17 UTC (rev 5412)
@@ -590,13 +590,13 @@
 // Uses jquery.js (should be loaded)
 function displayLoadingMsg() {
     if (window.jQuery)
-        jQuery(document).ready(function($){
+        (function($){
             $('<div id="loadingGWTGlass" class="tk-GlassPanel 
tk-ModalDialog-glassPanel" style="position: absolute; left: 0px; top: 0px; 
width: 100%; height: '+$(window).height()+'px;"/>').appendTo('body');
             $("<div id='loadingGWT' class='tk-ModalDialog dialog-loading'><div 
id='loadingGWTMsg'>Loading, please wait...</div><div id='loadingGWTImg'><img 
src='/xwiki/skins/curriki8/icons/spinner.gif' /></div></div>").appendTo('body');
             if (window.GWTArguments && window.GWTArguments.loading_msg){
                 $("#loadingGWTMsg").html(GWTArguments.loading_msg);
             }
-        });
+        })(jQuery);
 }
 
 function hideLoadingMsg() {

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to