Expand collapsed tree when they become to "cannot be collapsed"
This commit is contained in:
parent
aea0595898
commit
29d033d476
@ -1531,7 +1531,11 @@ TreeStyleTabBrowser.prototype = {
|
||||
self.startRendering();
|
||||
}).error(this.defaultDeferredErrorHandler);
|
||||
|
||||
this.allowSubtreeCollapseExpand = this.getTreePref('allowSubtreeCollapseExpand.'+orient) ;
|
||||
var allowToCollapse = this.getTreePref('allowSubtreeCollapseExpand.'+orient);
|
||||
if (this.allowSubtreeCollapseExpand && !allowToCollapse)
|
||||
this.collapseExpandAllSubtree(false, false);
|
||||
|
||||
this.allowSubtreeCollapseExpand = allowToCollapse;
|
||||
this.maxTreeLevel = this.getTreePref('maxTreeLevel.'+orient);
|
||||
|
||||
this.setTabbrowserAttribute(this.kALLOW_STACK, this.canStackTabs ? 'true' : null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user