зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3efe2532d5
Коммит
2721d0ccd7
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче