diff --git a/app/assets/javascripts/sitewide/marvinjs_editor.js b/app/assets/javascripts/sitewide/marvinjs_editor.js index 863539ed9..1a1ae02eb 100644 --- a/app/assets/javascripts/sitewide/marvinjs_editor.js +++ b/app/assets/javascripts/sitewide/marvinjs_editor.js @@ -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();