Skip to content

Commit

Permalink
MINOR Disabled rewriteHashlinks in CMS templates to avoid breaking jQ…
Browse files Browse the repository at this point in the history
…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
chillu committed Nov 21, 2009
1 parent df7713f commit 0f6d2b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/LeftAndMain.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit 0f6d2b0

Please sign in to comment.