diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 573796e5..bdc53df3 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3648,6 +3648,14 @@ TreeStyleTabBrowser.prototype = { return; } + currentParent = aParent; + do { + if (currentParent != aChild) continue; + // this.fireAttachedEvent(aChild, aParent); + return; + } + while (currentParent = this.getParentTab(currentParent)); + shouldInheritIndent = ( !currentParent || (currentParent.getAttribute(this.kNEST) == aParent.getAttribute(this.kNEST))