mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
294343a3cf
commit
6ae1e6cf78
1 changed files with 3 additions and 1 deletions
|
|
@ -129,7 +129,9 @@ var CloudCommander, Util, DOM, CloudFunc, $;
|
|||
|
||||
Util.log('downloading file ' + lPath +'...');
|
||||
|
||||
lPath = CloudFunc.FS + lPath + '?download';
|
||||
var lDir = DOM.isCurrentIsDir() ? '&&json' : '';
|
||||
|
||||
lPath = CloudFunc.FS + lPath + '?download' + lDir;
|
||||
|
||||
if(!DOM.getById(lId)){
|
||||
var lDownload = DOM.anyload({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue