Builder/LeftTree.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:32:06 +0000 (18:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:32:06 +0000 (18:32 +0800)
Builder/LeftTree.js

index a628893..34bded3 100755 (executable)
@@ -731,10 +731,10 @@ LeftTree = new XObject(
                         {
                             
                             
-                             var s = LeftTree.get('view').selection;
-                             print ("LIST ALL TYPES: " + s.count_selected_rows() );
-                             
-                             if (s.count_selected_rows() > 0) {
+                            var s = LeftTree.get('view').selection;
+                            print ("LIST ALL TYPES: " + s.count_selected_rows() );
+                            
+                            if (s.count_selected_rows() > 0) {
                                 var iter = new Gtk.TreeIter();    
                                 s.get_selected(LeftTree.get('model').el, iter);
 
@@ -758,6 +758,7 @@ LeftTree = new XObject(
                             {
                                 li.forEach(function(el) {
                                     // this is specific to roo!!!?
+                                    
                                     var fullpath =  LeftTree.get('model').file.guessName(el);
                                     if (fullpath.length && ret.indexOf(fullpath) < 0) {
                                         ret.push(fullpath);