mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with downloading directory listing in json from menu
This commit is contained in:
parent
4971ab76e9
commit
7bb27fb50f
2 changed files with 6 additions and 5 deletions
|
|
@ -67,6 +67,9 @@ and linux.
|
|||
|
||||
* Removed unneeded windows check.
|
||||
|
||||
* Fixed bug with downloading directory
|
||||
listing in json from menu.
|
||||
|
||||
|
||||
2012.10.01, Version 0.1.7
|
||||
|
||||
|
|
|
|||
|
|
@ -248,9 +248,7 @@ CloudServer.generateHeaders = function(pName, pGzip){
|
|||
|
||||
if(pGzip)
|
||||
lRet['content-encoding'] = 'gzip';
|
||||
|
||||
console.log(lRet);
|
||||
|
||||
|
||||
return lRet;
|
||||
};
|
||||
|
||||
|
|
@ -635,9 +633,9 @@ CloudServer._fillJSON = function(pStats, pFiles){
|
|||
var lReaded_f = CloudServer.indexReaded(lList);
|
||||
lReaded_f(false, lFileData);
|
||||
}
|
||||
}else{
|
||||
}else{
|
||||
DirPath = DirPath.substr(DirPath, DirPath.lastIndexOf('/') );
|
||||
var lQuyery = CloudServer.Queries[DirPath];
|
||||
DirPath = DirPath.substr( DirPath.lastIndexOf('/') );
|
||||
DirPath += '.json';
|
||||
CloudServer.Queries[DirPath] = lQuyery;
|
||||
/* в обычном режиме(когда js включен
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue