親タブを含む複数のタブを選択して子タブにドロップしようとした時にフリーズする問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6755 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-06-26 17:36:08 +00:00
parent 9de91c45ba
commit c1d7f83dc4

View File

@ -3648,6 +3648,14 @@ TreeStyleTabBrowser.prototype = {
return; return;
} }
currentParent = aParent;
do {
if (currentParent != aChild) continue;
// this.fireAttachedEvent(aChild, aParent);
return;
}
while (currentParent = this.getParentTab(currentParent));
shouldInheritIndent = ( shouldInheritIndent = (
!currentParent || !currentParent ||
(currentParent.getAttribute(this.kNEST) == aParent.getAttribute(this.kNEST)) (currentParent.getAttribute(this.kNEST) == aParent.getAttribute(this.kNEST))