PDA

View Full Version : [FIXED-1013]3.3.x- Examples page does not load fully under Safari 4.x / Firefox 3.6.x



meroy
1 Jun 2010, 6:13 AM
Only the logo appears on the page when accessing http://.../ext-33x-6666/examples/index.html

Have not tried with any other browsers.

Reverting the change made to http://code.extjs.com/svn/ext-core/branches/ext-3.3.x revision 211 solves the issue.

For reference, the following is the diff output for revision 211.



diff -Naur svn.ext-core-33x-206/src/core/EventManager.js svn.ext-core-33x-211/src/core/EventManager.js
--- svn.ext-core-33x-206/src/core/EventManager.js 2010-05-24 13:34:55.000000000 -0400
+++ svn.ext-core-33x-211/src/core/EventManager.js 2010-05-27 10:17:07.000000000 -0400
@@ -617,7 +617,7 @@
if(Ext.isStrict || Ext.isBorderBox){
var p = bd.parentNode;
if(p){
- p.className += ((Ext.isStrict && Ext.isIE ) || (!Ext.enableForcedBoxModel && !Ext.isIE)) ? ' ext-strict' : ' ext-border-box';
+ Ext.fly(p, '_internal').addClass(((Ext.isStrict && Ext.isIE ) || (!Ext.enableForcedBoxModel && !Ext.isIE)) ? ' ext-strict' : ' ext-border-box');
}
}
// Forced border box model class applied to all elements. Bypassing javascript based box model adjustments
@@ -626,7 +626,7 @@
Ext.isForcedBorderBox = true;
cls.push("ext-forced-border-box");
}
- bd.className += cls.join(' ');
+ Ext.fly(bd, '_internal').addClass(cls);
return true;
}

meroy
25 Jun 2010, 7:56 PM
This can be closed now. This is no longer an issue with the latest 3.3 branch. Revision r6761 resolved the issue. The description for r6761 and applied to ext.jsb2 is: "Fixed the include order of the jsb - EventManager was being included too early."

Thanks :)