PDA

View Full Version : ie11 problem on iframe events readystatechange and load doesnt fire



imoreno
9 Jan 2014, 12:38 PM
Ext version tested:

Ext 4.2.1
Browser versions tested against:

Internet explorer 11


config.panelPreview.add({
xtype: 'component',
itemId: 'cmpPreview',
shim: false,
autoEl: {
tag: 'iframe',
style: 'height: 100%; width: 100%; border: none;',
src: config.url
},
listeners: {
readystatechange: {
element: 'el',
fn: function (a, b, c) {
Fundation.loadMask({ state: false });
}
},
load: {
element: 'el',
fn: function () {
Fundation.loadMask({ state: false });
}
},
render: {
element: 'el',
fn: function () {
Fundation.loadMask({ state: true, message: "Processing..." });
}
}
}
});


After render the events onreadystatechange nor load works.

note: i test it on chrome, firefox and ie9 and it works

mankz
10 Jan 2014, 4:28 AM
IE11 isn't supported properly in that version. Try 4.2.2, but also see this bug.

http://www.sencha.com/forum/showthread.php?278580-Ext.ieVersion-reported-as-0-in-IE-11

imoreno
10 Jan 2014, 8:47 AM
well i think i will have to use a delay function just for set the loadmask off.
thank you any way.