Builder/LeftTree.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 10:41:18 +0000 (18:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 10:41:18 +0000 (18:41 +0800)
Builder/LeftTree.js

index 9c91754..6635da4 100755 (executable)
@@ -570,7 +570,7 @@ LeftTree = new XObject(
                             
                             function addall(li)
                             {
-                                Roo.each(li, function(el) {
+                                li.forEach(function(el) {
                                     // this is specific to roo!!!?
                                     var fullpath =  Roo.guessName(el);
                                     if (fullpath.length && ret.indexOf(fullpath) < 0) {