mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
0935da6aad
commit
8db33cc65e
@ -21,9 +21,6 @@
|
||||
|
||||
this._resizeChildren();
|
||||
|
||||
// save cookie state of all tabs
|
||||
$('.ss-tabset').tabs('option', 'cookie', { expires: 30 });
|
||||
|
||||
this._super();
|
||||
},
|
||||
|
||||
|
@ -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' }
|
||||
});
|
||||
}
|
||||
}});
|
||||
|
Loading…
Reference in New Issue
Block a user