PDA

View Full Version : [OPEN] [FIXED][Core 3.0 Beta 1] - IE bug



calinseciu
13 May 2009, 3:56 AM
Hey,

I recently downloaded Ext Core 3.0 to build a tabs panel. It works great on most browsers except IE 7 and 8 (didn't test on IE 6).

After some debugging I found an error in ext-core-debug.js on line 1008


_load : function(e) {
loadComplete = true;
var EU = Ext.lib.Event;

if (Ext.isIE) {
doRemove(win, "load", EU._load);
}
},

This is the error that IE 8 gives: "_load is null or not an object"

Thanks

calinseciu
13 May 2009, 4:41 AM
I searched the forum for this bug (which I should have done in the first place :">) and found this thread http://extjs.com/forum/showthread.php?t=63520

I replaced that line and it fixed my problem.

Animal
13 May 2009, 5:33 AM
That could be coded in ext-base-event.js as



_load : function(e) {
loadComplete = true;
if (Ext.isIE && e !== true) {
doRemove(win, "load", arguments.callee);
}
},


The function just wants to remove itself as the listener.

calinseciu
13 May 2009, 6:38 AM
Thanks Animal, I'll use your solution

aconran
18 May 2009, 8:35 AM
Committed in Ext Core revision 308.