mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur
This commit is contained in:
parent
1d36d9329e
commit
ddb9aacbff
@ -558,6 +558,9 @@ nsEventStateManager::PostHandleEvent(nsIPresContext& aPresContext,
|
||||
}
|
||||
}
|
||||
|
||||
//Reset target frame to null to avoid mistargetting after reentrant event
|
||||
mCurrentTarget = nsnull;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -558,6 +558,9 @@ nsEventStateManager::PostHandleEvent(nsIPresContext& aPresContext,
|
||||
}
|
||||
}
|
||||
|
||||
//Reset target frame to null to avoid mistargetting after reentrant event
|
||||
mCurrentTarget = nsnull;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user