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,11 +374,13 @@ define([
} }
return paths; return paths;
} }
if (isFolder(root)) {
for (var e in root) { for (var e in root) {
var nPath = path.slice(); var nPath = path.slice();
nPath.push(e); nPath.push(e);
_findFileInRoot(nPath, file).forEach(addPaths); _findFileInRoot(nPath, file).forEach(addPaths);
} }
}
return paths; return paths;
}; };