mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Add total size validation check to result files
This commit is contained in:
parent
d924faaafd
commit
b9a0fb47de
1 changed files with 1 additions and 0 deletions
|
@ -566,6 +566,7 @@
|
|||
});
|
||||
totalSize -= parseInt(droppedFiles[index].size, 10);
|
||||
droppedFiles.splice(index, 1);
|
||||
validateTotalSize();
|
||||
$el.closest('.panel-result-attachment-new').remove();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue