mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(client) goToParentDir: when parent is root
This commit is contained in:
parent
4c42e8a414
commit
820c02bec9
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ var Util, DOM, CloudFunc, join;
|
|||
|
||||
if (path !== parentPath) {
|
||||
path = parentPath;
|
||||
path = CloudFunc.rmLastSlash(path);
|
||||
path = CloudFunc.rmLastSlash(path) || '/';
|
||||
|
||||
CloudCmd.loadDir({
|
||||
path: path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue