smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault a=joki git-svn-id: svn://10.0.0.236/trunk@83488 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -913,7 +913,7 @@ nsHTMLInputElement::HandleDOMEvent(nsIPresContext* aPresContext,
|
||||
aFlags, aEventStatus);
|
||||
|
||||
// now check to see if the event was "cancelled"
|
||||
if (nsEventStatus_eConsumeNoDefault != *aEventStatus && checkWasSet &&
|
||||
if (nsEventStatus_eConsumeNoDefault == *aEventStatus && checkWasSet &&
|
||||
(type == NS_FORM_INPUT_CHECKBOX || type == NS_FORM_INPUT_RADIO)) {
|
||||
// if it was cancelled and a radio button, then set the old selceted btn to TRUE
|
||||
//. if it is a checkbox then set it to it's original value
|
||||
|
||||
@@ -913,7 +913,7 @@ nsHTMLInputElement::HandleDOMEvent(nsIPresContext* aPresContext,
|
||||
aFlags, aEventStatus);
|
||||
|
||||
// now check to see if the event was "cancelled"
|
||||
if (nsEventStatus_eConsumeNoDefault != *aEventStatus && checkWasSet &&
|
||||
if (nsEventStatus_eConsumeNoDefault == *aEventStatus && checkWasSet &&
|
||||
(type == NS_FORM_INPUT_CHECKBOX || type == NS_FORM_INPUT_RADIO)) {
|
||||
// if it was cancelled and a radio button, then set the old selceted btn to TRUE
|
||||
//. if it is a checkbox then set it to it's original value
|
||||
|
||||
Reference in New Issue
Block a user