子を持つタブを閉じた時に、見えないタブが発生してしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1561 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-11-12 11:56:10 +00:00
parent 37d48c15ae
commit d27ca3b8f4

View File

@ -1389,7 +1389,11 @@ catch(e) {
self.moveTabSubTreeTo(aTab, b.mTabContainer.lastChild._tPos);
} :
parentTab ? function(aTab) {
self.attachTabTo(aTab, parentTab, { insertBefore : tab, dontUpdateIndent : true });
self.attachTabTo(aTab, parentTab, {
insertBefore : tab,
dontUpdateIndent : true,
dontExpand : true
});
} :
function(aTab) {
self.partTab(aTab, true);