mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 14:16:28 +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);
|
totalSize -= parseInt(droppedFiles[index].size, 10);
|
||||||
droppedFiles.splice(index, 1);
|
droppedFiles.splice(index, 1);
|
||||||
|
validateTotalSize();
|
||||||
$el.closest('.panel-result-attachment-new').remove();
|
$el.closest('.panel-result-attachment-new').remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue