mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Merge pull request #6430 from ivanscinote/SCI-9515-click-away-not-working-after-editing-chemical-drawing-in-rtf
Refocus on tinymce editor after marvinjs img update [SCI-9515]
This commit is contained in:
commit
118a25e0ab
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,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