I'm a beginner here so I apologize if this question is badly worded.
I have an XmlTreeLoader that is loaded up every time a row is clicked in an Ext.grid. It works fine in Firefox and Chrome, but whenever I try to run it in IE I get the error:
Wrong number of arguments or invalid property assignment
I tried using the developer toolbar in IE8 to figure out what's going on, and what I found was that when the function parseXml is called on the root, the root node's "item" property has the error: Wrong number of arguments or invalid property assignment, which is the error displayed above.
My hypothesis is that the XML I'm receiving is badly formed... I feel like that's something IE is strict about no?
Here's my code in case the hypothesis is incorrect. Row Selection:
selModel: new Ext.grid.RowSelectionModel({
singleSelect: true,
listeners: {
rowselect: function(sm, rowIndex, record) {
var root = Ext.getCmp('searchDetailPanel').root;
root.loader = new rmg.sscp.search.xmlLoader({
dataUrl: 'detail',
baseParams: {
uid: record.id
}
})
root.reload();
}
}
})
xmlLoader:
rmg.sscp.search.xmlLoader = Ext.extend(Ext.ux.tree.XmlTreeLoader, {
processAttributes : function(attr){
var text = attr.tagName;
attr.text = text + ' ' + attr.textContent;
attr.loaded = true;
attr.expanded = true;
}
});