展開されているツリーの間でのタブの移動では、ツリーを自動的には閉じないようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5148 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
c322e4ac68
commit
c5e81d81a7
@ -2703,10 +2703,12 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
if (!aInfo.dontExpand) {
|
if (!aInfo.dontExpand) {
|
||||||
if (this.getTreePref('autoCollapseExpandSubTreeOnSelect')) {
|
if (this.getTreePref('autoCollapseExpandSubTreeOnSelect')) {
|
||||||
this.collapseExpandTreesIntelligentlyFor(aParent);
|
if (aParent.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
|
||||||
|
this.collapseExpandTreesIntelligentlyFor(aParent);
|
||||||
var p = aParent;
|
var p = aParent;
|
||||||
do {
|
do {
|
||||||
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
|
if (p.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
|
||||||
|
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
|
||||||
}
|
}
|
||||||
while (p = this.getParentTab(p));
|
while (p = this.getParentTab(p));
|
||||||
}
|
}
|
||||||
@ -2714,7 +2716,8 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
if (this.getTreePref('autoExpandSubTreeOnAppendChild')) {
|
if (this.getTreePref('autoExpandSubTreeOnAppendChild')) {
|
||||||
var p = aParent;
|
var p = aParent;
|
||||||
do {
|
do {
|
||||||
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
|
if (p.getAttribute(this.kSUBTREE_COLLAPSED) == 'true')
|
||||||
|
this.collapseExpandSubtree(p, false, aInfo.dontAnimate);
|
||||||
}
|
}
|
||||||
while (p = this.getParentTab(p));
|
while (p = this.getParentTab(p));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user