PDA

View Full Version : [DUP][3.x] Ext.each() works with 2.2, breaks with 3.0+ in IE



acesfull
14 Dec 2009, 11:03 AM
This is taken from Ext.ux.XmlTreeLoader:

createNode : function(node){
var attr = {
tagName: node.tagName
};
// Ext.each(node.attributes, function(a){
// attr[a.nodeName] = a.nodeValue;
// });
this.processAttributes(attr);
return Ext.ux.tree.XmlTreeLoader.superclass.createNode.call(this, attr);
},

I am processing an XML doc that does not contains any tags with attributes. The offending code (commented out) causes a TypeError -2146827838 in IE. The code does work with 2.2. Tested with 3.0, 3.0.3

Thanks

Condor
14 Dec 2009, 11:57 AM
Duplicate of this bug (http://www.extjs.com/forum/showthread.php?t=85151)?

acesfull
14 Dec 2009, 2:27 PM
Looks like it. Thanks