孫タブ、子タブ、の順でタブを閉じた後孫タブを復元するとタブのツリーがおかしくなる問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1611 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
ce8b16f6a6
commit
e4ff7b505a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user