re-split initialization methods
This commit is contained in:
parent
1e6daae6fb
commit
91ee4592dc
@ -313,7 +313,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
||||
}
|
||||
};
|
||||
|
||||
TreeStyleTabWindowHelper.overrideExtensionsOnInitBefore = function TSTWH_overrideExtensionsOnInitBefore() {
|
||||
TreeStyleTabWindowHelper.overrideExtensionsBeforeBrowserInit = function TSTWH_overrideExtensionsBeforeBrowserInit() {
|
||||
var sv = this.service;
|
||||
|
||||
// Tab Mix Plus
|
||||
@ -396,6 +396,10 @@ TreeStyleTabWindowHelper.overrideExtensionsOnInitBefore = function TSTWH_overrid
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_overrideExtensionsAfterBrowserInit() {
|
||||
var sv = this.service;
|
||||
|
||||
// Selection Links
|
||||
// https://addons.mozilla.org/firefox/addon/8644
|
||||
|
@ -59,11 +59,16 @@ var TreeStyleTabWindowHelper = {
|
||||
this.overrideExtensionsPreInit(); // hacks.js
|
||||
},
|
||||
|
||||
init : function TSTWH_init()
|
||||
onBeforeBrowserInit : function TSTWH_onBeforeBrowserInit()
|
||||
{
|
||||
this.overrideExtensionsOnInitBefore(); // hacks.js
|
||||
this.overrideExtensionsBeforeBrowserInit(); // hacks.js
|
||||
this.overrideGlobalFunctions();
|
||||
},
|
||||
|
||||
onAfterBrowserInit : function TSTWH_onAfterBrowserInit()
|
||||
{
|
||||
this.overrideExtensionsAfterBrowserInit(); // hacks.js
|
||||
},
|
||||
|
||||
updateTabDNDObserver : function TSTWH_updateTabDNDObserver(aObserver)
|
||||
{
|
||||
|
@ -407,8 +407,9 @@ TreeStyleTabWindow.prototype = {
|
||||
|
||||
this.initUninstallationListener();
|
||||
|
||||
w.TreeStyleTabWindowHelper.init();
|
||||
w.TreeStyleTabWindowHelper.onBeforeBrowserInit();
|
||||
this.initTabBrowser(this.browser);
|
||||
w.TreeStyleTabWindowHelper.onAfterBrowserInit();
|
||||
|
||||
this.processRestoredTabs();
|
||||
this.updateTabsOnTop();
|
||||
|
Loading…
Reference in New Issue
Block a user