Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

This commit is contained in:
yflory 2019-06-19 16:31:16 +02:00
commit 9a04f748b5

View File

@ -374,10 +374,12 @@ define([
} }
return paths; return paths;
} }
for (var e in root) { if (isFolder(root)) {
var nPath = path.slice(); for (var e in root) {
nPath.push(e); var nPath = path.slice();
_findFileInRoot(nPath, file).forEach(addPaths); nPath.push(e);
_findFileInRoot(nPath, file).forEach(addPaths);
}
} }
return paths; return paths;