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'); } }