子タブを持つサブツリーAとサブツリーBがある時、タブをサブツリーAの最後の子にドロップするとサブツリーBの後にタブが移動されてしまう問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3815 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
fe1fdbf014
commit
f02a620f41
@ -2216,7 +2216,7 @@ TreeStyleTabBrowser.prototype = {
|
||||
case this.kDROP_ON:
|
||||
info.action = this.kACTION_MOVE | this.kACTION_ATTACH;
|
||||
info.parent = tab;
|
||||
info.insertBefore = this.getNextSiblingTab(tab);
|
||||
info.insertBefore = this.getNextSiblingTab(tab) || this.getNextVisibleTab(tab);
|
||||
break;
|
||||
|
||||
case this.kDROP_BEFORE:
|
||||
|
Loading…
Reference in New Issue
Block a user