Hi all,
I have an error in IE (only) when run dr.render('dr'). I'm using the version 7 of IE. In firebug it works perfectly.
Where dr is:
Code:
var dr = new Ext.FormPanel({
labelWidth: 125,
frame: false,
header: false,
border: false,
bodyStyle:'padding:5px 5px 0',
width: 350,
defaults: {width: 175},
defaultType: 'datefield',
items: [{
fieldLabel: 'Start Date',
name: 'startdt',
id: 'startdt',
vtype: 'daterange',
endDateField: 'enddt' // id of the end date field
},{
fieldLabel: 'End Date',
name: 'enddt',
id: 'enddt',
vtype: 'daterange',
startDateField: 'startdt' // id of the start date field
}]
});
The div exists when I render the formPanel on it.
Using Companion.JS debugger for IE, I get the following message:
Unknown runtime error (line 318) (ext-all-debug.js)
Code:
overwrite : function(el, o, returnElement){
el = Ext.getDom(el);
el.innerHTML = createHtml(o);
return returnElement ? Ext.get(el.firstChild, true) : el.firstChild;
},
Doubleclicking on the error I have some more messages (the error comes from this).
ext-all-debug.js (line 3785)
ext-all-debug.js (line 15892)
ext-all-debug.js (line 15958)
ext-all-debug.js (line 28809)
ext-all-debug.js (line 12454)
ext-all-debug.js (line 14062)
cap_eu_browse_list.html (line 42) it is parent.dr.render('dr');
Any idea of why is it failing? I've spent almost all the day with it, but I didn't find the fix.
Thanks,
Pau