「子タブをリロードする」が親タブまでリロードしてしまっていた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7260 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
361efaf6eb
commit
e494c270f6
@ -877,7 +877,7 @@ var TreeStyleTabUtils = {
|
||||
return aA._tPos - aB._tPos;
|
||||
},
|
||||
|
||||
gatherSubtreeMemberTabs : function TSTUtils_gatherSubtreeMemberTabs(aTabOrTabs)
|
||||
gatherSubtreeMemberTabs : function TSTUtils_gatherSubtreeMemberTabs(aTabOrTabs, aOnlyChildren)
|
||||
{
|
||||
var tabs = aTabOrTabs;
|
||||
if (!(tabs instanceof Array)) {
|
||||
@ -891,9 +891,7 @@ var TreeStyleTabUtils = {
|
||||
descendant = descendant.concat(b.treeStyleTab.getDescendantTabs(tabs[i]));
|
||||
}
|
||||
|
||||
tabs = this.cleanUpTabsArray(tabs.concat(descendant));
|
||||
|
||||
return tabs;
|
||||
return this.cleanUpTabsArray(aOnlyChildren ? descendant : tabs.concat(descendant));
|
||||
},
|
||||
|
||||
splitTabsToSubtrees : function TSTUtils_splitTabsToSubtrees(aTabs) /* PUBLIC API */
|
||||
|
Loading…
x
Reference in New Issue
Block a user