mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Fixed merge error (see r99114)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99130 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b41c401223
commit
c941ca899a
@ -120,7 +120,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
function SwitchView() {
|
function SwitchView() {
|
||||||
if($page = $this->currentPage()) {
|
if($page = $this->currentPage()) {
|
||||||
$nav = $page->getNavigatorItems();
|
$nav = SilverStripeNavigator::get_for_record($page);
|
||||||
Requirements::customScript("window.name = windowName('cms');");
|
Requirements::customScript("window.name = windowName('cms');");
|
||||||
return $nav['items'];
|
return $nav['items'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user