From bb3012a7ab89a87492390b0540a61e8317466ab8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Apr 2010 21:52:39 +0000 Subject: [PATCH] MINOR Fixed some jQuery.concrete getters git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102504 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/CMSMain.js | 2 +- javascript/tinymce_ssbuttons/editor_plugin_src.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/javascript/CMSMain.js b/javascript/CMSMain.js index 78556dc3..26ebb44d 100644 --- a/javascript/CMSMain.js +++ b/javascript/CMSMain.js @@ -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; }); diff --git a/javascript/tinymce_ssbuttons/editor_plugin_src.js b/javascript/tinymce_ssbuttons/editor_plugin_src.js index ba90f2d3..53e2656b 100644 --- a/javascript/tinymce_ssbuttons/editor_plugin_src.js +++ b/javascript/tinymce_ssbuttons/editor_plugin_src.js @@ -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'); } }