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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92620 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:37:10 +00:00
parent 0935da6aad
commit 8db33cc65e
2 changed files with 2 additions and 4 deletions

View File

@ -21,9 +21,6 @@
this._resizeChildren(); this._resizeChildren();
// save cookie state of all tabs
$('.ss-tabset').tabs('option', 'cookie', { expires: 30 });
this._super(); this._super();
}, },

View File

@ -220,7 +220,8 @@
// All tab contents are closed by default. // All tab contents are closed by default.
this.tabs({ this.tabs({
collapsible: true, collapsible: true,
selected: null selected: parseInt(jQuery.cookie('ui-tabs-TreeActions')) || null,
cookie: { expires: 30, path: '/', name: 'ui-tabs-TreeActions' }
}); });
} }
}}); }});