From 0f6d2b011239d708d02bda995e25e49657215709 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:36:02 +0000 Subject: [PATCH] MINOR Disabled rewriteHashlinks in CMS templates to avoid breaking jQuery tabs which detect URLs like 'admin/asets/#mytab' as an ajax-URL git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92600 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 9edfd552..643ccfa2 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -98,6 +98,8 @@ class LeftAndMain extends Controller { function init() { parent::init(); + SSViewer::setOption('rewriteHashlinks', false); + // set language $member = Member::currentUser(); if(!empty($member->Locale)) {