From 64d0cbab9aa95fde068abebef1d5223b41ba49c1 Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Thu, 5 Apr 2012 12:09:58 +1200 Subject: [PATCH] BUGFIX: SSF-38 hiding the insert image controls when editing an already inserted image. --- javascript/HtmlEditorField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + ']');