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()} ;