Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Renaming <div id="contentPanel"> to "cms-editor-dialogs"

  • Loading branch information...
commit 6dbfd5fdde84fbc6f90f47a4dcee6bf583ddadcd 1 parent 0f7175f
Ingo Schommer chillu authored
8 admin/javascript/ModelAdmin.js
View
@@ -64,7 +64,7 @@
// Import forms are processed without ajax
if(this.attr('id').match(/^Form_ImportForm/)) return true;
- $('#contentPanel').closeRightPanel();
+ $('.cms-editor-dialogs').closeRightPanel();
this.trigger('beforeSubmit');
@@ -197,14 +197,14 @@
}
});
- $('#contentPanel').entwine({
+ $('.cms-editor-dialogs').entwine({
/**
* Close TinyMCE image, link or flash panel.
* this function is called everytime a new search, back or add new DataObject are clicked
**/
closeRightPanel: function(){
- if($('#contentPanel').is(':visible')) {
- $('#contentPanel').hide();
+ if($('.cms-editor-dialogs').is(':visible')) {
+ $('.cms-editor-dialogs').hide();
$('#Form_EditorToolbarImageForm').hide();
$('#Form_EditorToolbarFlashForm').hide();
$('#Form_EditorToolbarLinkForm').hide();
2  admin/templates/LeftAndMain.ss
View
@@ -40,7 +40,7 @@
</div>
- <div id="contentPanel">
+ <div id=".cms-editor-dialogs">
<% control EditorToolbar %>
$ImageForm
$LinkForm
2  javascript/HtmlEditorField.js
View
@@ -36,7 +36,7 @@
* On folder change - lookup the new images
*/
$("#Form_EditorToolbarImageForm_Files-0").change(function() {
- $("#contentPanel #Form_EditorToolbarImageForm").ajaxForm({
+ $(".cms-editor-dialogs #Form_EditorToolbarImageForm").ajaxForm({
url: 'admin/assets/UploadForm?action_doUpload=1',
iframe: true,
dataType: 'json',
Please sign in to comment.
Something went wrong with that request. Please try again.