minor changes

This commit is contained in:
coderaiser 2012-11-06 03:34:50 -05:00
parent 16ae67ed3f
commit 86b1a57b70
2 changed files with 2 additions and 1 deletions

View file

@ -72,6 +72,8 @@ var CloudCommander, $;
console.log('downloading file ' + lLink +'...');
lLink = lLink + '?download';
lLink = Util.removeStr( lLink, CloudFunc.NOJS );
var lId = Util.getIdBySrc(lLink);
if(!Util.getById(lId)){

View file

@ -224,7 +224,6 @@ CloudServer.generateHeaders = function(pName, pGzip){
lContentEncoding = '; charset=UTF-8';
var lQuery = CloudServer.Queries[pName];
console.log(lQuery);
if(lQuery){
if( Util.strCmp(lQuery, 'download') )
lType = 'application/octet-stream';