展開されているツリーの間でのタブの移動では、ツリーを自動的には閉じないようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5148 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-09-29 13:18:36 +00:00
parent c322e4ac68
commit c5e81d81a7

View File

@ -2703,9 +2703,11 @@ TreeStyleTabBrowser.prototype = {
if (!aInfo.dontExpand) {
if (this.getTreePref('autoCollapseExpandSubTreeOnSelect')) {
if (aParent.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
this.collapseExpandTreesIntelligentlyFor(aParent);
var p = aParent;
do {
if (p.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
}
while (p = this.getParentTab(p));
@ -2714,6 +2716,7 @@ TreeStyleTabBrowser.prototype = {
if (this.getTreePref('autoExpandSubTreeOnAppendChild')) {
var p = aParent;
do {
if (p.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
}
while (p = this.getParentTab(p));