we should save data to TMP's session manager always
This commit is contained in:
parent
7a7ca701ac
commit
668a4f667e
@ -5718,6 +5718,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
|
||||
this.needRestoreTree = false;
|
||||
|
||||
if (this.useTMPSessionAPI && this.getPref('extensions.tabmix.sessions.manager'))
|
||||
return;
|
||||
|
||||
var level = this.getTreePref('restoreTree.level');
|
||||
if (
|
||||
level <= this.kRESTORE_TREE_LEVEL_NONE ||
|
||||
|
@ -1110,15 +1110,7 @@ var TreeStyleTabUtils = {
|
||||
}, this);
|
||||
},
|
||||
|
||||
_useTMPSessionAPI : false,
|
||||
get useTMPSessionAPI()
|
||||
{
|
||||
return this._useTMPSessionAPI && this.getPref('extensions.tabmix.sessions.manager');
|
||||
},
|
||||
set useTMPSessionAPI(aValue)
|
||||
{
|
||||
return this._useTMPSessionAPI = !!aValue;
|
||||
},
|
||||
useTMPSessionAPI : false,
|
||||
|
||||
kTMP_SESSION_DATA_PREFIX : 'tmp-session-data-',
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user