mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #6582 from G-Chubinidze/gc_SCI_9521
Issues with attachment previews [SCI-9521]
This commit is contained in:
commit
136440f704
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ var MarvinJsEditorApi = (function() {
|
|||
} else if (config.mode === 'edit') {
|
||||
config.objectType = 'Asset';
|
||||
MarvinJsEditor.update(config);
|
||||
location.reload();
|
||||
} else if (config.mode === 'new-tinymce') {
|
||||
config.objectType = 'TinyMceAsset';
|
||||
MarvinJsEditor.save(config);
|
||||
|
|
Loading…
Reference in a new issue