mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Revert "Revert "Refocus on tinymce editor after marvinjs img update [SCI-9515]""
This commit is contained in:
parent
d3ba70c2bf
commit
16ebf0cbe8
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ var MarvinJsEditorApi = (function() {
|
|||
$('#modal_link' + json.id + ' .attachment-label').text(json.file_name);
|
||||
}
|
||||
$(marvinJsModal).modal('hide');
|
||||
|
||||
config.editor.focus();
|
||||
config.button.dataset.inProgress = false;
|
||||
|
||||
if (MarvinJsEditor.saveCallback) MarvinJsEditor.saveCallback();
|
||||
|
|
Loading…
Reference in a new issue