don't collapse a existing tree automatically if it is in a background group

This commit is contained in:
SHIMODA Hiroshi 2011-12-12 11:51:48 +09:00
parent 55dc28600b
commit 5d9c5f3a74

View File

@ -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;