diff --git a/javascript/HtmlEditorField.js b/javascript/HtmlEditorField.js index 36fb4b20f..e51f90abf 100644 --- a/javascript/HtmlEditorField.js +++ b/javascript/HtmlEditorField.js @@ -654,7 +654,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE; .toggleClass('ui-state-disabled', !hasItems); // Hide file selection and step labels when editing an existing file - this.find('.header-select,.content-select,.header-edit')[editingSelected ? 'hide' : 'show'](); + this.find('#MediaFormInsertImageTabs,.header-edit')[editingSelected ? 'hide' : 'show'](); }, getFileView: function(idOrUrl) { return this.find('.ss-htmleditorfield-file[data-id=' + idOrUrl + ']');