Fix conflict with Informational Tab
This commit is contained in:
parent
d100d26da3
commit
3657a95c2e
@ -42,6 +42,8 @@ Components.utils.import('resource://treestyletab-modules/window.js');
|
|||||||
|
|
||||||
function TreeStyleTabBrowser(aWindowService, aTabBrowser)
|
function TreeStyleTabBrowser(aWindowService, aTabBrowser)
|
||||||
{
|
{
|
||||||
|
this.id = Date.now() + '-' + parseInt(Math.random() * 65000);
|
||||||
|
|
||||||
this.windowService = aWindowService;
|
this.windowService = aWindowService;
|
||||||
this.window = aWindowService.window;
|
this.window = aWindowService.window;
|
||||||
this.document = aWindowService.document;
|
this.document = aWindowService.document;
|
||||||
@ -51,6 +53,15 @@ function TreeStyleTabBrowser(aWindowService, aTabBrowser)
|
|||||||
|
|
||||||
this.tabVisibilityChangedTabs = [];
|
this.tabVisibilityChangedTabs = [];
|
||||||
this.updateTabsIndentWithDelayTabs = [];
|
this.updateTabsIndentWithDelayTabs = [];
|
||||||
|
this.deferredTasks = {};
|
||||||
|
|
||||||
|
this.tabsHash = {};
|
||||||
|
this.tabVisibilityChangedTabs = [];
|
||||||
|
this._updateFloatingTabbarReason = 0;
|
||||||
|
this.internallyTabMovingCount = 0;
|
||||||
|
this.subTreeMovingCount = 0;
|
||||||
|
this.subTreeChildrenMovingCount = 0;
|
||||||
|
this._treeViewEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
TreeStyleTabBrowser.prototype = {
|
TreeStyleTabBrowser.prototype = {
|
||||||
@ -586,8 +597,6 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
init : function TSTBrowser_init()
|
init : function TSTBrowser_init()
|
||||||
{
|
{
|
||||||
this.id = Date.now() + '-' + parseInt(Math.random() * 65000);
|
|
||||||
|
|
||||||
this.stopRendering();
|
this.stopRendering();
|
||||||
|
|
||||||
var w = this.window;
|
var w = this.window;
|
||||||
@ -598,16 +607,6 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
if (b.tabContainer.parentNode.localName == 'toolbar')
|
if (b.tabContainer.parentNode.localName == 'toolbar')
|
||||||
b.tabContainer.parentNode.classList.add(this.kTABBAR_TOOLBAR);
|
b.tabContainer.parentNode.classList.add(this.kTABBAR_TOOLBAR);
|
||||||
|
|
||||||
this.deferredTasks = {};
|
|
||||||
|
|
||||||
this.tabsHash = {};
|
|
||||||
this.tabVisibilityChangedTabs = [];
|
|
||||||
this._updateFloatingTabbarReason = 0;
|
|
||||||
this.internallyTabMovingCount = 0;
|
|
||||||
this.subTreeMovingCount = 0;
|
|
||||||
this.subTreeChildrenMovingCount = 0;
|
|
||||||
this._treeViewEnabled = true;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* On secondary (and later) window, SSWindowStateBusy event can be fired
|
* On secondary (and later) window, SSWindowStateBusy event can be fired
|
||||||
* before DOMContentLoad, on "domwindowopened".
|
* before DOMContentLoad, on "domwindowopened".
|
||||||
|
Loading…
Reference in New Issue
Block a user