From 5d9c5f3a745c8709872c42884bbd9069f345b6a3 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Mon, 12 Dec 2011 11:51:48 +0900 Subject: [PATCH] don't collapse a existing tree automatically if it is in a background group --- modules/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/browser.js b/modules/browser.js index 3d46bedb..9e15bd15 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -5373,7 +5373,7 @@ TreeStyleTabBrowser.prototype = { expandedParentTabs = expandedParentTabs.join('|'); var xpathResult = this.evaluateXPath( - 'child::xul:tab[@'+this.kCHILDREN+' and not(@'+this.kCOLLAPSED+'="true") and not(@'+this.kSUBTREE_COLLAPSED+'="true") and @'+this.kID+' and not(contains("'+expandedParentTabs+'", @'+this.kID+'))]', + 'child::xul:tab[@'+this.kCHILDREN+' and not(@'+this.kCOLLAPSED+'="true") and not(@'+this.kSUBTREE_COLLAPSED+'="true") and @'+this.kID+' and not(contains("'+expandedParentTabs+'", @'+this.kID+')) and not(@hidden="true")]', b.mTabContainer ); var collapseTab;