「子タブをリロードする」が親タブまでリロードしてしまっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7260 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-18 15:12:14 +00:00
parent 361efaf6eb
commit e494c270f6

View File

@ -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 */