Bug 378247, nsXTFElementWrapper::PostHandleEvent no longer checks NOTIFY_HANDLE_DEFAULT, p=ajvincent@gmail.com, r=me, sr=bz

This commit is contained in:
Olli.Pettay@helsinki.fi 2007-04-21 00:35:37 -07:00
parent e61bb22ff8
commit 715087bfab

View File

@ -844,7 +844,8 @@ nsresult
nsXTFElementWrapper::PostHandleEvent(nsEventChainPostVisitor& aVisitor)
{
nsresult rv = NS_OK;
if (aVisitor.mEventStatus == nsEventStatus_eConsumeNoDefault) {
if (aVisitor.mEventStatus == nsEventStatus_eConsumeNoDefault ||
!(mNotificationMask & nsIXTFElement::NOTIFY_HANDLE_DEFAULT)) {
return rv;
}