Commit c7ac8914 authored by Dietmar Maurer's avatar Dietmar Maurer

cleanup

parent d30bec0a
...@@ -118,12 +118,7 @@ Ext.define('PVE.tree.ResourceTree', { ...@@ -118,12 +118,7 @@ Ext.define('PVE.tree.ResourceTree', {
pos = cs[me.findInsertIndex(node, child, 0, cs.length)]; pos = cs[me.findInsertIndex(node, child, 0, cs.length)];
} }
//var expanded = node.isExpanded();
//if (expanded)
//node.collapse();
node.insertBefore(child, pos); node.insertBefore(child, pos);
//if (expanded)
//node.expand();
return child; return child;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment