孫タブ、子タブ、の順でタブを閉じた後孫タブを復元するとタブのツリーがおかしくなる問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1611 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-11-23 08:08:39 +00:00
parent ce8b16f6a6
commit e4ff7b505a

View File

@ -1161,9 +1161,7 @@ TreeStyleTabBrowser.prototype = {
if (!parent && (before = this.getTabById(before))) {
var index = before._tPos;
if (index > tab._tPos) index--;
this.internallyTabMoving = true;
b.moveTabTo(tab, index);
this.internallyTabMoving = false;
}
this.deleteTabValue(tab, this.kINSERT_BEFORE);