畳まれたサブツリー内のタブにフォーカスがある時に親のタブにフォーカスを移すのを、サブツリーを畳む時だけにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1231 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
f6c034ec86
commit
efd3140667
@ -984,7 +984,9 @@ var TreeStyleTabService = {
|
|||||||
|
|
||||||
var b = this.getTabBrowserFromChildren(aTab);
|
var b = this.getTabBrowserFromChildren(aTab);
|
||||||
var p;
|
var p;
|
||||||
if (aTab == b.selectedTab && (p = this.getParentTabOf(aTab))) b.selectedTab = p;
|
if (aCollapse && aTab == b.selectedTab && (p = this.getParentTabOf(aTab))) {
|
||||||
|
b.selectedTab = p;
|
||||||
|
}
|
||||||
|
|
||||||
var isSubTreeCollapsed = (aTab.getAttribute(this.kSUBTREE_COLLAPSED) == 'true');
|
var isSubTreeCollapsed = (aTab.getAttribute(this.kSUBTREE_COLLAPSED) == 'true');
|
||||||
var tabs = this.getChildTabsOf(aTab);
|
var tabs = this.getChildTabsOf(aTab);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user