親タブを子タブにドロップしようとした時に正しくドロップが無効化されていなかった
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6754 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
93ebd97f3e
commit
9de91c45ba
@ -699,11 +699,16 @@ try{
|
||||
).singleNodeValue)
|
||||
this.clearDropPosition();
|
||||
|
||||
if (setEffectAllowedFunc ?
|
||||
if (
|
||||
!info.canDrop ||
|
||||
(setEffectAllowedFunc ?
|
||||
(setEffectAllowedFunc(aEvent) == 'none') :
|
||||
!aTabBrowser.canDrop(aEvent, session)
|
||||
)
|
||||
) {
|
||||
aEvent.dataTransfer.effectAllowed = "none";
|
||||
return true;
|
||||
}
|
||||
|
||||
info.target.setAttribute(
|
||||
this.kDROP_POSITION,
|
||||
|
Loading…
Reference in New Issue
Block a user