Author: dward
Date: 2007-10-17 02:32:34 +0200 (Wed, 17 Oct 2007)
New Revision: 5410

Modified:
   xwiki-products/curriki/branches/curriki-1.3/web/src/main/webapp/gwt2.js
Log:
- CURRIKI-1009
 - Backport ie7 fix to 1.3 branch


Modified: 
xwiki-products/curriki/branches/curriki-1.3/web/src/main/webapp/gwt2.js
===================================================================
--- xwiki-products/curriki/branches/curriki-1.3/web/src/main/webapp/gwt2.js     
2007-10-17 00:02:38 UTC (rev 5409)
+++ xwiki-products/curriki/branches/curriki-1.3/web/src/main/webapp/gwt2.js     
2007-10-17 00:32:34 UTC (rev 5410)
@@ -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