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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user