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;
|
this.needRestoreTree = false;
|
||||||
|
|
||||||
|
if (this.useTMPSessionAPI && this.getPref('extensions.tabmix.sessions.manager'))
|
||||||
|
return;
|
||||||
|
|
||||||
var level = this.getTreePref('restoreTree.level');
|
var level = this.getTreePref('restoreTree.level');
|
||||||
if (
|
if (
|
||||||
level <= this.kRESTORE_TREE_LEVEL_NONE ||
|
level <= this.kRESTORE_TREE_LEVEL_NONE ||
|
||||||
|
@ -1110,15 +1110,7 @@ var TreeStyleTabUtils = {
|
|||||||
}, this);
|
}, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
_useTMPSessionAPI : false,
|
useTMPSessionAPI : false,
|
||||||
get useTMPSessionAPI()
|
|
||||||
{
|
|
||||||
return this._useTMPSessionAPI && this.getPref('extensions.tabmix.sessions.manager');
|
|
||||||
},
|
|
||||||
set useTMPSessionAPI(aValue)
|
|
||||||
{
|
|
||||||
return this._useTMPSessionAPI = !!aValue;
|
|
||||||
},
|
|
||||||
|
|
||||||
kTMP_SESSION_DATA_PREFIX : 'tmp-session-data-',
|
kTMP_SESSION_DATA_PREFIX : 'tmp-session-data-',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user