mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Fixed some jQuery.concrete getters
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102504 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
85133f3db5
commit
bb3012a7ab
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user