親のタブを閉じた時に最初の子を新しい親に昇格させる設定のとき、タブのフォーカスが閉じられたタブの元々の兄弟タブの方に移ってしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4625 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-01 08:01:26 +00:00
parent 01be303a42
commit 85cccb8f83

View File

@ -1427,6 +1427,7 @@ TreeStyleTabBrowser.prototype = {
function(aTab, aIndex) {
this.partTab(aTab, true);
if (aIndex == 0) {
nextFocusedTab = aTab;
indentModifiedTabs.push(aTab);
if (parentTab) {
this.attachTabTo(aTab, parentTab, {