Skip to content
This repository
Browse code

BUGFIX: SSF-38 hiding the insert image controls when editing an alrea…

…dy inserted image.
  • Loading branch information...
commit 64d0cbab9aa95fde068abebef1d5223b41ba49c1 1 parent 697ffb8
Julian Seidenberg authored April 05, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  javascript/HtmlEditorField.js
2  javascript/HtmlEditorField.js
@@ -654,7 +654,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
654 654
 					.toggleClass('ui-state-disabled', !hasItems);
655 655
 
656 656
 				// Hide file selection and step labels when editing an existing file
657  
-				this.find('.header-select,.content-select,.header-edit')[editingSelected ? 'hide' : 'show']();
  657
+				this.find('#MediaFormInsertImageTabs,.header-edit')[editingSelected ? 'hide' : 'show']();
658 658
 			},
659 659
 			getFileView: function(idOrUrl) {
660 660
 				return this.find('.ss-htmleditorfield-file[data-id=' + idOrUrl + ']');

0 notes on commit 64d0cba

Please sign in to comment.
Something went wrong with that request. Please try again.