Drag and drop actions from non-tab elements aren't handled by TST. As the result, Firefox's native handler handles the event, so default drop indicator is unexpectedly processed. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2798 )
This commit is contained in:
parent
967d65d99d
commit
d5afbebd8c
@ -816,10 +816,7 @@ try{
|
|||||||
var b = sv.mTabBrowser;
|
var b = sv.mTabBrowser;
|
||||||
|
|
||||||
var session = sv.currentDragSession;
|
var session = sv.currentDragSession;
|
||||||
if (
|
if (sv.isToolbarCustomizing)
|
||||||
sv.isToolbarCustomizing ||
|
|
||||||
!sv.getTabFromChild(session.sourceNode)
|
|
||||||
)
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
sv.autoScroll.processAutoScroll(aEvent);
|
sv.autoScroll.processAutoScroll(aEvent);
|
||||||
@ -853,7 +850,7 @@ try{
|
|||||||
observer._dragTime = time;
|
observer._dragTime = time;
|
||||||
}
|
}
|
||||||
if (now >= time + delay)
|
if (now >= time + delay)
|
||||||
aTabBrowser.selectedTab = info.target;
|
b.selectedTab = info.target;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user