Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur

This commit is contained in:
joki%netscape.com 1999-11-08 21:30:22 +00:00
parent 1d36d9329e
commit ddb9aacbff
2 changed files with 6 additions and 0 deletions

View File

@ -558,6 +558,9 @@ nsEventStateManager::PostHandleEvent(nsIPresContext& aPresContext,
}
}
//Reset target frame to null to avoid mistargetting after reentrant event
mCurrentTarget = nsnull;
return ret;
}

View File

@ -558,6 +558,9 @@ nsEventStateManager::PostHandleEvent(nsIPresContext& aPresContext,
}
}
//Reset target frame to null to avoid mistargetting after reentrant event
mCurrentTarget = nsnull;
return ret;
}