Clear bioEddie molecule on creating new one [SCI-6001] (#3757)

Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
aignatov-bio 2022-01-03 12:36:56 +01:00 committed by GitHub
parent 75f7e67602
commit 478df28689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,6 +125,7 @@ var bioEddieEditor = (function() {
open_new: (objectId, objectType, container) => {
bioEddieModal.data('object_id', objectId);
bioEddieModal.data('object_type', objectType);
bioEddieModal.data('molecule', null);
bioEddieModal.data('assets_container', container);
bioEddieModal.find('.file-name input').val('');
bioEddieModal.modal('show');