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:
aignatov-bio 2020-03-12 13:31:21 +01:00 committed by GitHub
commit a1ea71e512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -566,6 +566,7 @@
});
totalSize -= parseInt(droppedFiles[index].size, 10);
droppedFiles.splice(index, 1);
validateTotalSize();
$el.closest('.panel-result-attachment-new').remove();
});
}