タブの挿入位置を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4834 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-30 10:04:40 +00:00
parent 7004aa51f9
commit 3e3a6aee81

View File

@ -1380,7 +1380,7 @@ TreeStyleTabBrowser.prototype = {
parent = (positionInTree > -1 && positionInTree < tabs.length) ? tabs[positionInTree] : parent ;
}
if (parent) {
this.attachTabTo(tab, parent, { dontMove : true });
this.attachTabTo(tab, parent);
}
let refTab;
@ -1706,7 +1706,7 @@ TreeStyleTabBrowser.prototype = {
if (newParent != parent) {
if (newParent)
this.attachTabTo(aTab, newParent, { dontMove : true });
this.attachTabTo(aTab, newParent, { insertBefore : nextTab });
else
this.partTab(aTab);
}