mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
Merge pull request #6438 from scinote-eln/revert-6430-SCI-9515-click-away-not-working-after-editing-chemical-drawing-in-rtf
Revert "Refocus on tinymce editor after marvinjs img update [SCI-9515]"
This commit is contained in:
commit
e60b7754ad
1 changed files with 0 additions and 2 deletions
|
@ -200,8 +200,6 @@ var MarvinJsEditorApi = (function() {
|
||||||
$('#modal_link' + json.id + ' .attachment-label').text(json.file_name);
|
$('#modal_link' + json.id + ' .attachment-label').text(json.file_name);
|
||||||
}
|
}
|
||||||
$(marvinJsModal).modal('hide');
|
$(marvinJsModal).modal('hide');
|
||||||
|
|
||||||
config.editor.focus();
|
|
||||||
config.button.dataset.inProgress = false;
|
config.button.dataset.inProgress = false;
|
||||||
|
|
||||||
if (MarvinJsEditor.saveCallback) MarvinJsEditor.saveCallback();
|
if (MarvinJsEditor.saveCallback) MarvinJsEditor.saveCallback();
|
||||||
|
|
Loading…
Add table
Reference in a new issue