mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Merge pull request #2463 from aignatov-bio/ai-sci-4345-fix-add-button-status-in-file-results
Add total size validation check to result files [SCI-4345]
This commit is contained in:
commit
a1ea71e512
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