restore indent levels at first
This commit is contained in:
parent
8578d23548
commit
04c9515d24
@ -2348,6 +2348,8 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
this.applyTreeStructureToTabBrowser(this.mTabBrowser, treeStructure.tree);
|
this.applyTreeStructureToTabBrowser(this.mTabBrowser, treeStructure.tree);
|
||||||
|
|
||||||
|
this.updateAllTabsIndent();
|
||||||
|
|
||||||
this.getAllTabsArray(this.mTabBrowser)
|
this.getAllTabsArray(this.mTabBrowser)
|
||||||
.forEach(function(aTab, aIndex) {
|
.forEach(function(aTab, aIndex) {
|
||||||
this.tabsHash[this.getTabValue(aTab, this.kID)] = aTab;
|
this.tabsHash[this.getTabValue(aTab, this.kID)] = aTab;
|
||||||
@ -2365,7 +2367,6 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
aTab.removeAttribute(this.kPARENT);
|
aTab.removeAttribute(this.kPARENT);
|
||||||
aTab.removeAttribute(this.kCHILDREN);
|
aTab.removeAttribute(this.kCHILDREN);
|
||||||
}, this);
|
}, this);
|
||||||
this.updateAllTabsIndent();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/* DOM Event Handling */
|
/* DOM Event Handling */
|
||||||
@ -4871,6 +4872,13 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
updateAllTabsCount : function TSTBrowser_updateAllTabsCount()
|
||||||
|
{
|
||||||
|
this.rootTabs.forEach(function(aTab) {
|
||||||
|
this.updateTabsCount(aTab, this);
|
||||||
|
}, this);
|
||||||
|
},
|
||||||
|
|
||||||
promoteTooDeepLevelTabs : function TSTBrowser_promoteTooDeepLevelTabs(aParent)
|
promoteTooDeepLevelTabs : function TSTBrowser_promoteTooDeepLevelTabs(aParent)
|
||||||
{
|
{
|
||||||
if (this.maxTreeLevel < 0 || !this.maxTreeLevelPhisical)
|
if (this.maxTreeLevel < 0 || !this.maxTreeLevelPhisical)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user