Skip to content

Commit

Permalink
BUGFIX: SSF-38 hiding the insert image controls when editing an alrea…
Browse files Browse the repository at this point in the history
…dy inserted image.
  • Loading branch information
Julian Seidenberg committed Apr 5, 2012
1 parent 697ffb8 commit 64d0cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/HtmlEditorField.js
Expand Up @@ -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 + ']');
Expand Down

0 comments on commit 64d0cba

Please sign in to comment.