mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dropbox) readDir: add path condition
This commit is contained in:
parent
a6c2fa183a
commit
73741cce73
1 changed files with 3 additions and 0 deletions
|
|
@ -155,6 +155,9 @@ var CloudCmd, Util, DOM, Dropbox, cb, Client;
|
|||
path : path,
|
||||
files : []
|
||||
};
|
||||
|
||||
if (path !== '/')
|
||||
path += '/';
|
||||
|
||||
if (error)
|
||||
msg = error.responseText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue