復元されたタブの並び順が壊れていたのを修正(rev.4144でのregressionの修正)

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4151 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-04-20 13:30:54 +00:00
parent 38b0529574
commit 0bbf8135fa

View File

@ -2959,8 +2959,8 @@ TreeStyleTabBrowser.prototype = {
this.isSubTreeChildrenMoving = true;
this.internallyTabMoving = true;
this.getDescendantTabs(aTab).forEach(function(aTab, aIndex) {
b.moveTabTo(aTab, aTab._tPos + aIndex + (aTab._tPos < aTab._tPos ? 1 : 0 ));
this.getDescendantTabs(aTab).forEach(function(aDescendantTab, aIndex) {
b.moveTabTo(aDescendantTab, aTab._tPos + aIndex + (aTab._tPos < aDescendantTab._tPos ? 1 : 0 ));
}, this);
this.internallyTabMoving = false;
this.isSubTreeChildrenMoving = false;