Merge pull request #6582 from G-Chubinidze/gc_SCI_9521

Issues with attachment previews [SCI-9521]
This commit is contained in:
Martin Artnik 2023-11-09 10:48:18 +01:00 committed by GitHub
commit 136440f704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);