Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@114092 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-02-08 23:50:51 +00:00
parent 56ee4b3e12
commit bbc692806c
5 changed files with 18 additions and 44 deletions

View File

@@ -436,11 +436,8 @@ nsImageControlFrame::GetCursor(nsIPresContext* aPresContext,
void
nsImageControlFrame::MouseClicked(nsIPresContext* aPresContext)
{
if (nsnull != mFormFrame && !nsFormFrame::GetDisabled(this)) {
// Do Submit & DOM Processing
nsFormControlHelper::DoManualSubmitOrReset(aPresContext, nsnull,
mFormFrame, this, PR_TRUE, PR_TRUE);
}
// This is no longer called; click events are handled in
// nsHTMLInputElement::HandleDOMEvent().
}
NS_IMETHODIMP