Roo/tree/TreeEditor.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 Nov 2011 05:18:35 +0000 (13:18 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Nov 2011 05:18:35 +0000 (13:18 +0800)
Roo/tree/TreeEditor.js

index 5ef54ea..60617a5 100644 (file)
@@ -23,7 +23,7 @@
 Roo.tree.TreeEditor = function(config, oldconfig) { // was -- (tree, config){
     var tree = config;
     if (oldconfig) {
-        config = oldconfig || {};
+        config = oldconfig;
     } else {
         tree = config.tree;
     }