Builder/LeftTree.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:50:52 +0000 (16:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:50:52 +0000 (16:50 +0800)
Builder/LeftTree.js

index aced78e..2b44631 100755 (executable)
@@ -459,7 +459,9 @@ LeftTree = new XObject(
                             }
                             print("FIND treepath: " + path);
                             //console.dump(this.treemap);
-                             
+                            if (targets === true) {
+                                return [ path ];
+                            }
                             return this.findDropNodeByPath(path,targets) 
                         },
                         findDropNodeByPath : function (treepath_str, targets, pref)