diff --git a/app/assets/javascripts/sitewide/tiny_mce.js b/app/assets/javascripts/sitewide/tiny_mce.js index a42542566..23aeab6ed 100644 --- a/app/assets/javascripts/sitewide/tiny_mce.js +++ b/app/assets/javascripts/sitewide/tiny_mce.js @@ -158,19 +158,6 @@ var TinyMCE = (function() { } } - // Saving at clicking anywhere outside of the editor ("inline style") - editor.on('blur', function(event) { - if (this.id === 'my_module_description_textarea' - || this.id === 'protocol_description_textarea') { - event.preventDefault(); - editorForm.clearFormErrors(); - editor.setProgressState(1); - editor.save(); - editorForm.submit(); - updateScrollPosition(); - } - }); - // Init Save button editorForm .find('.tinymce-save-button')