File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
services/static-webserver/client/source/class/osparc/file Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -147,34 +147,18 @@ qx.Class.define("osparc.file.TreeFolderView", {
147147 try {
148148 let path = pathParts . slice ( 0 , i ) ;
149149 path = path . join ( "/" ) ;
150- console . log ( "recursive load" , path ) ;
151150 found = await foldersTree . requestPathItems ( locationId , path ) ;
152- foldersTree . openNodeAndParents ( found ) ;
153- console . log ( "found" , found ) ;
154151 } catch ( err ) {
155152 console . error ( err ) ;
156153 }
157154 }
158- if ( found ) {
159- foldersTree . setSelection ( new qx . data . Array ( [ found ] ) ) ;
160- foldersTree . fireEvent ( "selectionChanged" ) ;
161- } else {
162- folderViewer . resetFolder ( ) ;
163- }
164- /*
165- while (!found && pathParts.length) {
166- found = foldersTree.findItemId(pathParts.join("/"));
167- // look for next parent
168- pathParts.pop();
169- }
170155 if ( found ) {
171156 foldersTree . openNodeAndParents ( found ) ;
172157 foldersTree . setSelection ( new qx . data . Array ( [ found ] ) ) ;
173158 foldersTree . fireEvent ( "selectionChanged" ) ;
174159 } else {
175160 folderViewer . resetFolder ( ) ;
176161 }
177- */
178162 } ,
179163
180164 requestSize : function ( pathId ) {
You can’t perform that action at this time.
0 commit comments