parent
49f0f9f2f6
commit
fe2a63ffd4
1 changed files with 6 additions and 5 deletions
|
@ -28,7 +28,8 @@ var FileList={
|
|||
}
|
||||
FileList.updateFileSummary();
|
||||
procesSelection();
|
||||
|
||||
|
||||
$(window).scrollTop(0);
|
||||
$fileList.trigger(jQuery.Event("updated"));
|
||||
},
|
||||
createRow:function(type, name, iconurl, linktarget, size, lastModified, permissions) {
|
||||
|
@ -394,7 +395,7 @@ var FileList={
|
|||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
form.submit(function(event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
@ -468,7 +469,7 @@ var FileList={
|
|||
var basename = newname;
|
||||
if (newname.indexOf('.') > 0 && tr.data('type') !== 'dir') {
|
||||
basename = newname.substr(0, newname.lastIndexOf('.'));
|
||||
}
|
||||
}
|
||||
td.find('a.name span.nametext').text(basename);
|
||||
if (newname.indexOf('.') > 0 && tr.data('type') !== 'dir') {
|
||||
if ( ! td.find('a.name span.extension').exists() ) {
|
||||
|
@ -834,7 +835,7 @@ $(document).ready(function() {
|
|||
{name: 'requesttoken', value: oc_requesttoken}
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
file_upload_start.on('fileuploadadd', function(e, data) {
|
||||
|
@ -873,7 +874,7 @@ $(document).ready(function() {
|
|||
*/
|
||||
file_upload_start.on('fileuploaddone', function(e, data) {
|
||||
OC.Upload.log('filelist handle fileuploaddone', e, data);
|
||||
|
||||
|
||||
var response;
|
||||
if (typeof data.result === 'string') {
|
||||
response = data.result;
|
||||
|
|
Loading…
Reference in a new issue