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:
Piro / SHIMODA Hiroshi 2010-12-03 02:38:15 +09:00
parent 967d65d99d
commit d5afbebd8c

View File

@ -816,10 +816,7 @@ try{
var b = sv.mTabBrowser;
var session = sv.currentDragSession;
if (
sv.isToolbarCustomizing ||
!sv.getTabFromChild(session.sourceNode)
)
if (sv.isToolbarCustomizing)
return false;
sv.autoScroll.processAutoScroll(aEvent);
@ -853,7 +850,7 @@ try{
observer._dragTime = time;
}
if (now >= time + delay)
aTabBrowser.selectedTab = info.target;
b.selectedTab = info.target;
}
}