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 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;
} }
} }