Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)

This commit is contained in:
joki@netscape.com
1999-03-28 22:22:54 +00:00
parent 8ec32dd842
commit f55ce704a2
52 changed files with 2087 additions and 884 deletions

View File

@@ -360,7 +360,7 @@ nsImageControlFrame::MouseClicked(nsIPresContext* aPresContext)
event.eventStructType = NS_EVENT;
event.message = NS_FORM_SUBMIT;
if (nsnull != formContent) {
formContent->HandleDOMEvent(*aPresContext, &event, nsnull, DOM_EVENT_INIT, status);
formContent->HandleDOMEvent(*aPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, status);
NS_RELEASE(formContent);
}
if (nsEventStatus_eConsumeNoDefault != status) {