mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Remove load from file button from bioeddie [SCI-6091] (#3656)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
eb8de58c97
commit
50e93fed4e
1 changed files with 9 additions and 0 deletions
|
@ -91,8 +91,17 @@ var bioEddieEditor = (function() {
|
|||
bioEddieModal = $('#bioEddieModal');
|
||||
if (bioEddieIframe) {
|
||||
bioEddieIframe.onload = function() {
|
||||
let body = $(bioEddieIframe).contents().find('body');
|
||||
BIO_EDDIE = bioEddieIframe.contentWindow.bioEddieEditor;
|
||||
CHEMAXON = bioEddieIframe.contentWindow.chemaxon;
|
||||
let cssRemoveFileImport = `
|
||||
<style>
|
||||
.breg-modal .breg-import-dialog-tabs li:last-child{
|
||||
display: none
|
||||
}
|
||||
</style>
|
||||
`;
|
||||
$(body).append(cssRemoveFileImport);
|
||||
importMolecule();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue