mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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
This commit is contained in:
parent
df7713f894
commit
0f6d2b0112
@ -98,6 +98,8 @@ class LeftAndMain extends Controller {
|
|||||||
function init() {
|
function init() {
|
||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
|
SSViewer::setOption('rewriteHashlinks', false);
|
||||||
|
|
||||||
// set language
|
// set language
|
||||||
$member = Member::currentUser();
|
$member = Member::currentUser();
|
||||||
if(!empty($member->Locale)) {
|
if(!empty($member->Locale)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user