Author: dward
Date: 2007-10-17 02:02:38 +0200 (Wed, 17 Oct 2007)
New Revision: 5409

Modified:
   xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js
Log:
- CURRIKI-1009
  - fixed issue with ie7

Modified: xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js
===================================================================
--- xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js    2007-10-16 
21:20:41 UTC (rev 5408)
+++ xwiki-products/curriki/trunk/web/src/main/webapp/gwt2.js    2007-10-17 
00:02:38 UTC (rev 5409)
@@ -590,13 +590,13 @@
 // Uses jquery.js (should be loaded)
 function displayLoadingMsg() {
     if (window.jQuery)
-        (function($){
+        jQuery(document).ready(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