Skip to content
Browse files

MINOR Disabled rewriteHashlinks in CMS templates to avoid breaking jQ…

…uery 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
  • Loading branch information...
1 parent df7713f commit 0f6d2b011239d708d02bda995e25e49657215709 @chillu chillu committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 code/LeftAndMain.php
View
2 code/LeftAndMain.php
@@ -98,6 +98,8 @@ function canView($member = null) {
function init() {
parent::init();
+ SSViewer::setOption('rewriteHashlinks', false);
+
// set language
$member = Member::currentUser();
if(!empty($member->Locale)) {

0 comments on commit 0f6d2b0

Please sign in to comment.
Something went wrong with that request. Please try again.