Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…dy inserted image.
  • Loading branch information...
commit 64d0cbab9aa95fde068abebef1d5223b41ba49c1 1 parent 697ffb8
@candidasa candidasa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/HtmlEditorField.js
View
2  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 + ']');
Please sign in to comment.
Something went wrong with that request. Please try again.