同じサブツリーの中のタブの判定を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4790 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
e234f8ea7a
commit
8cb9c7e692
@ -2275,6 +2275,7 @@ catch(e) {
|
||||
window.setTimeout(function(aSelf) {
|
||||
aTabs.forEach(function(aTab) {
|
||||
b.treeStyleTab.attachTabTo(aTab, root);
|
||||
b.treeStyleTab.collapseExpandTab(aTab, false);
|
||||
}, aSelf);
|
||||
}, 0, this);
|
||||
},
|
||||
@ -2290,7 +2291,7 @@ catch(e) {
|
||||
if (!lastParent || parent != lastParent) return true;
|
||||
lastParent = parent;
|
||||
}
|
||||
return false;
|
||||
return this.getChildTabs(lastParent).length != aTabs.length;
|
||||
},
|
||||
getRootTabs : function(aTabs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user