Bug 330013, Dragging a link to the tab bar opens in the currently focused tab, not a new tab, r+sr=bz

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-03-12 20:12:36 +00:00
Родитель 3efe2532d5
Коммит 2721d0ccd7
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -6101,6 +6101,10 @@ PresShell::HandleEventInternal(nsEvent* aEvent, nsIView *aView,
nsAutoPopupStatePusher popupStatePusher(nsDOMEvent::GetEventPopupControlState(aEvent));
// FIXME. If the event was reused, we need to clear the old target,
// bug 329430
aEvent->target = nsnull;
// 1. Give event to event manager for pre event state changes and
// generation of synthetic events.
rv = manager->PreHandleEvent(mPresContext, aEvent, mCurrentEventFrame,