mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
fcb99f336b
commit
727859655f
1 changed files with 5 additions and 6 deletions
|
|
@ -12,7 +12,6 @@ var CloudCommander, Util, DOM = {}, CloudFunc;
|
|||
function getImage(pName){
|
||||
var lId = pName + '-image',
|
||||
lE = DOM.getById(lId);
|
||||
|
||||
if (!lE)
|
||||
lE = DOM.anyload({
|
||||
name : 'span',
|
||||
|
|
@ -448,13 +447,13 @@ var CloudCommander, Util, DOM = {}, CloudFunc;
|
|||
i, n = lSelected && lSelected.length;
|
||||
|
||||
if(n > 1){
|
||||
for(i = 0; i < 4 && i < n; i++)
|
||||
lName += lSelected[i] + '\n';
|
||||
for(i = 0; i < 5 && i < n; i++)
|
||||
lName += '\n' + lSelected[i];
|
||||
|
||||
if(n > 5)
|
||||
lName += '...';
|
||||
if(n >= 5)
|
||||
lName += '\n...';
|
||||
|
||||
lMsg = lMsgAsk + lMsgSel + n + ' files/directoris?\n\n' + lName ;
|
||||
lMsg = lMsgAsk + lMsgSel + n + ' files/directoris?\n' + lName ;
|
||||
lQuery = '?files';
|
||||
}else{
|
||||
var lType, lIsDir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue