if (typeof(this.attributes.items) == 'undefined' || !this.attributes.items) {
return;
}
- return;
+
Roo.each(this.attributes.items, function(c) {
this.appendChild(Roo.factory(c,Roo.Tree));
}, this);
- delete this.attribute.items;
+ delete this.attributes.items;