Permalink
Browse files

MINOR Fixed some jQuery.concrete getters

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102504 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 85133f3 commit bb3012a7ab89a87492390b0540a61e8317466ab8 @chillu chillu committed Apr 12, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 javascript/CMSMain.js
  2. +3 −3 javascript/tinymce_ssbuttons/editor_plugin_src.js
View
@@ -13,7 +13,7 @@
});
// The close button should close the east panel of the layout
this.find(':header:first .ui-dialog-titlebar-close').bind('click', function(e) {
- $('body.CMSMain').concrete('ss').MainLayout().close('east');
+ $('body.CMSMain').concrete('ss').getMainLayout().close('east');
return false;
});
@@ -56,13 +56,13 @@
// Can't use $('contentPanel'), as its in a different window
window.parent.document.getElementById('contentPanel').style.display = "none";
// toggle layout panel
- jQuery('body.CMSMain').concrete('ss').MainLayout().close('east');
+ jQuery('body.CMSMain').concrete('ss').getMainLayout().close('east');
} else {
ed.controlManager.setActive(showCommand, true);
window.parent.document.getElementById('contentPanel').style.display = "block";
// toggle layout panel
- jQuery('body.CMSMain').concrete('ss').MainLayout().resizeAll();
- jQuery('body.CMSMain').concrete('ss').MainLayout().open('east');
+ jQuery('body.CMSMain').concrete('ss').getMainLayout().resizeAll();
+ jQuery('body.CMSMain').concrete('ss').getMainLayout().open('east');
}
}

0 comments on commit bb3012a

Please sign in to comment.