added ability to save files thrue drag'n'drop

This commit is contained in:
coderaiser 2012-09-08 06:00:22 -04:00
parent 4d8965f5d9
commit ff76ffd69a
2 changed files with 30 additions and 4 deletions

View file

@ -398,7 +398,7 @@ CloudFunc.buildFromJSON = function(pJSON, pKeyBinded)
'<span class=name>' +
'<a href="' + lFS_s+lNoJS_s +
lDotDot +
'">' + "..</a>" +
'" draggable=true>' + "..</a>" +
'</span>' +
'<span class=size>&lt;dir&gt;</span>'+
'<span class=owner>.</span>' +
@ -432,7 +432,7 @@ CloudFunc.buildFromJSON = function(pJSON, pKeyBinded)
(files[i].name.length > CloudFunc.SHORTNAMELENGTH ?
' title="' + files[i].name + '">' +
CloudFunc.getShortedName(files[i].name)
: '>' + files[i].name) +
: 'draggable=true>' + files[i].name) +
"</a>" +
'</span>';
/* если папка - не выводим размер */