The preference "extensions.treestyletab.autoExpand.intelligently" should work correctly (regression) #303

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-05-30 21:43:36 +09:00
parent 5769d05897
commit 8e28fb2444

View File

@ -4057,7 +4057,8 @@ TreeStyleTabBrowser.prototype = {
aSelf._handleNewActiveTabTimer = null;
if (aOptions.canExpandTree) {
if (aOptions.canCollapseTree)
if (aOptions.canCollapseTree &&
aSelf.getTreePref('autoExpand.intelligently'))
aSelf.collapseExpandTreesIntelligentlyFor(aTab);
else
aSelf.collapseExpandSubtree(aTab, false);