1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 17:02:47 +00:00

Combine view mode (#2959)

This commit is contained in:
杨顺强
2019-02-20 11:54:25 +08:00
committed by Daniel Pan
parent c73bf667ed
commit a7b0fb17f4
30 changed files with 2178 additions and 1124 deletions

View File

@@ -213,7 +213,7 @@ export const Utils = {
},
renameAncestorPath: function(path, ancestor, newAncestor) {
return newAncestor + '/' + path.replace(ancestor, '');
return path.replace(ancestor, newAncestor);
},
joinPath: function(pathA, pathB) {