Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame
git-svn-id: svn://10.0.0.236/trunk@56072 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6a4d832eb6
commit
167adea29b
@ -3060,6 +3060,12 @@ nsEnderEventListener::KeyPress(nsIDOMEvent* aKeyEvent)
|
||||
result = manager->PostHandleEvent(mContext, &event, gfxFrame, &status, mView);
|
||||
}
|
||||
NS_RELEASE(manager);
|
||||
|
||||
if(event.flags & NS_EVENT_FLAG_STOP_DISPATCH)
|
||||
{
|
||||
aKeyEvent->PreventCapture();
|
||||
aKeyEvent->PreventBubble();
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user