Only dispatch label-triggered clicks to content, for now, pending sorting out

exactly what HandleEventWithTarget _should_ be doing.  Bug 284163, r+sr=jst
This commit is contained in:
bzbarsky%mit.edu 2005-03-01 03:03:05 +00:00
parent 5b884652d2
commit 6bda3fd2c6

View File

@ -240,7 +240,7 @@ nsHTMLLabelElement::HandleDOMEvent(nsPresContext* aPresContext,
// this.) See bug 7554, bug 49897, and bug 96813.
nsEventStatus status = *aEventStatus;
rv = DispatchClickEvent(aPresContext, NS_STATIC_CAST(nsInputEvent*, aEvent),
content, PR_TRUE, &status);
content, PR_FALSE, &status);
// Do we care about the status this returned? I don't think we do...
}
break;