[richfaces-svn-commits] JBoss Rich Faces SVN: r4989 - in trunk/sandbox: ui/rex-resizable/src/main/resources/org/richfaces/renderkit/html/script and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Sat Dec 22 11:05:51 EST 2007


Author: sergeyhalipov
Date: 2007-12-22 11:05:50 -0500 (Sat, 22 Dec 2007)
New Revision: 4989

Modified:
   trunk/sandbox/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extjs/ext-all-debug.js
   trunk/sandbox/ui/rex-resizable/src/main/resources/org/richfaces/renderkit/html/script/rexInitWidget.js
Log:
http://jira.jboss.com/jira/browse/RF-1361

Modified: trunk/sandbox/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extjs/ext-all-debug.js
===================================================================
--- trunk/sandbox/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extjs/ext-all-debug.js	2007-12-22 15:26:22 UTC (rev 4988)
+++ trunk/sandbox/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extjs/ext-all-debug.js	2007-12-22 16:05:50 UTC (rev 4989)
@@ -1525,7 +1525,9 @@
                 var defer = document.getElementById("ie-deferred-loader");
                 if(defer){
                     defer.onreadystatechange = null;
-                    defer.parentNode.removeChild(defer);
+		    if (!Ext.isIE) {
+                	defer.parentNode.removeChild(defer);
+		    }
                 }
             }
             if(docReadyEvent){
@@ -1547,6 +1549,7 @@
                     fireDocReady();
                 }
             };
+           defer.parentNode.removeChild(defer);
         }else if(Ext.isSafari){
             docReadyProcId = setInterval(function(){
                 var rs = document.readyState;

Modified: trunk/sandbox/ui/rex-resizable/src/main/resources/org/richfaces/renderkit/html/script/rexInitWidget.js
===================================================================
--- trunk/sandbox/ui/rex-resizable/src/main/resources/org/richfaces/renderkit/html/script/rexInitWidget.js	2007-12-22 15:26:22 UTC (rev 4988)
+++ trunk/sandbox/ui/rex-resizable/src/main/resources/org/richfaces/renderkit/html/script/rexInitWidget.js	2007-12-22 16:05:50 UTC (rev 4989)
@@ -1,5 +1,5 @@
 if (!window.Richfaces) window.Richfaces={};
 
 window.Richfaces.rexInitWidget = 
-function(func) {Event.observe(window, "load", func );} ;
+function(func) {func()} ;
 




More information about the richfaces-svn-commits mailing list