sessions not restored if TMP's custom session management is activated
This commit is contained in:
parent
5f771740db
commit
5ea172c3c1
@ -71,7 +71,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
window.setTimeout(arguments.callee, 100);
|
window.setTimeout(arguments.callee, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
b.treeStyleTab.restoreStructure(tab);
|
b.treeStyleTab.handleRestoredTab(tab);
|
||||||
}, 0);
|
}, 0);
|
||||||
}).call(this, tab, id)
|
}).call(this, tab, id)
|
||||||
$1]]>
|
$1]]>
|
||||||
@ -151,7 +151,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
/(\}\))?$/,
|
/(\}\))?$/,
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if (gBrowser.treeStyleTab.useTMPSessionAPI)
|
if (gBrowser.treeStyleTab.useTMPSessionAPI)
|
||||||
gBrowser.treeStyleTab.restoreStructure(aTab);
|
gBrowser.treeStyleTab.handleRestoredTab(aTab);
|
||||||
$1]]>
|
$1]]>
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -160,7 +160,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
'return newTab;',
|
'return newTab;',
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if (this.treeStyleTab.useTMPSessionAPI)
|
if (this.treeStyleTab.useTMPSessionAPI)
|
||||||
this.treeStyleTab.restoreStructure(newTab);
|
this.treeStyleTab.handleRestoredTab(newTab);
|
||||||
$&]]>
|
$&]]>
|
||||||
);
|
);
|
||||||
eval('tablib.init = '+source.join('gBrowser.restoreTab = '));
|
eval('tablib.init = '+source.join('gBrowser.restoreTab = '));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user