Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Hiding "insert media" tabs when editing an image (wrong selector)

  • Loading branch information...
commit 2ecd8a0cc48ec53b115ddf78ba8552313c56ff76 1 parent 210e32d
@chillu chillu authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  javascript/HtmlEditorField.js
View
3  javascript/HtmlEditorField.js
@@ -722,9 +722,8 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
.button(hasItems ? 'enable' : 'disable')
.toggleClass('ui-state-disabled', !hasItems);
-
// Hide file selection and step labels when editing an existing file
- this.find('#MediaFormInsertImageTabs,.header-edit')[editingSelected ? 'hide' : 'show']();
+ this.find('#MediaFormInsertMediaTabs,.header-edit')[editingSelected ? 'hide' : 'show']();
var updateExisting = Boolean(this.find('.ss-htmleditorfield-file').length);
this.find('.htmleditorfield-mediaform-heading.insert')[updateExisting ? 'hide' : 'show']();
Please sign in to comment.
Something went wrong with that request. Please try again.