Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Fixed ui.tabs saving into cookies in LeftAndMain.js and CMSMai…

…n.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92620 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 8db33cc65ef3a5a2097c77aaaf85c0292d5a9742 1 parent 0935da6
@chillu chillu authored
Showing with 2 additions and 4 deletions.
  1. +0 −3  javascript/CMSMain.js
  2. +2 −1  javascript/LeftAndMain.js
View
3  javascript/CMSMain.js
@@ -20,9 +20,6 @@
});
this._resizeChildren();
-
- // save cookie state of all tabs
- $('.ss-tabset').tabs('option', 'cookie', { expires: 30 });
this._super();
},
View
3  javascript/LeftAndMain.js
@@ -220,7 +220,8 @@
// All tab contents are closed by default.
this.tabs({
collapsible: true,
- selected: null
+ selected: parseInt(jQuery.cookie('ui-tabs-TreeActions')) || null,
+ cookie: { expires: 30, path: '/', name: 'ui-tabs-TreeActions' }
});
}
}});
Please sign in to comment.
Something went wrong with that request. Please try again.