Roo/tree/TreeNode.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 19 Jan 2012 08:12:02 +0000 (16:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 19 Jan 2012 08:12:02 +0000 (16:12 +0800)
Roo/tree/TreeNode.js

index cbdfd30..34ad2a2 100644 (file)
@@ -158,7 +158,8 @@ Roo.tree.TreeNode = function(attributes){
     
     Roo.each(this.attributes.items, function(c) {
         this.appendChild(Roo.factory(c,Roo.Tree));
-    }, this)
+    }, this);
+    delete this.attribute.items;