PDA

View Full Version : Window with IFRAME IE7 Error



Iago
3 Apr 2008, 12:11 AM
Hi,

I am working with desktop and i a have a rare error in explorer 7 with iframe.

I did a window with an iframe. In Mozilla loads well de window, and in IE7 loads sometimes well. But a lot of times make an error of javascript and the iframe dont load the data. Is strange becouse in Mozilla goes well all the time but in Explorer goes wrong only with websites with a lot of javascript, Do you know how to fix it?

The error said: object null or something like that. I not sure becouse the error change some times.


MyDesktop.TribunalWindow = Ext.extend(Ext.app.Module, {
id:'tribunales-win',
init : function(){
this.launcher = {
text: 'Tribunales',
iconCls:'tribunales',
handler : this.createWindow,
scope: this
}
},

createWindow : function(){
var desktop = this.app.getDesktop();
var win = desktop.getWindow('tribunales-win');
if(!win){
win = desktop.createWindow({
id: 'tribunales-win',
title:'Tribunales',
width:740,
height:480,
html: '<iframe src="http://localhost:7001/alfa_war/" width="100%" height="100%"></iframe>',
iconCls: 'tribunales',
shim:false,
animCollapse:false,
constrainHeader:true

});
}
win.show();
}
});

Thanks for yout time and sorry for my english.

mlarese
3 Oct 2008, 2:01 AM
did you fix this error?

Condor
3 Oct 2008, 2:35 AM
Are you aware of this bug (http://www.extjs.com/forum/showthread.php?t=43246) in Ext 2.2?