Permalink
Browse files

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

…dy inserted image.
  • Loading branch information...
1 parent 697ffb8 commit 64d0cbab9aa95fde068abebef1d5223b41ba49c1 Julian Seidenberg committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 + ']');

0 comments on commit 64d0cba

Please sign in to comment.