BUGFIX: Fix navigator links not opening in new windows. (from r97510)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99116 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-16 03:45:47 +00:00 committed by Sam Minnee
parent 70f4894857
commit bf2924e159

View File

@ -121,6 +121,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
function SwitchView() {
if($page = $this->currentPage()) {
$nav = $page->getNavigatorItems();
Requirements::customScript("window.name = windowName('cms');");
return $nav['items'];
}
}