Syncing branch with trunk XForms progress. a=mkaply
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179546 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -102,9 +102,7 @@ nsXFormsSetIndexElement::HandleAction(nsIDOMEvent *aEvent,
|
||||
if (!result) {
|
||||
nsXFormsUtils::ReportError(NS_LITERAL_STRING("indexEvalError"),
|
||||
mElement);
|
||||
// beaufour: This makes sense, but is not according to the spec. I guess...
|
||||
nsXFormsUtils::DispatchEvent(mElement, eEvent_BindingException);
|
||||
return NS_ERROR_ABORT;
|
||||
return NS_OK;
|
||||
}
|
||||
double indexDoub;
|
||||
rv = result->GetNumberValue(&indexDoub);
|
||||
@@ -128,9 +126,7 @@ nsXFormsSetIndexElement::HandleAction(nsIDOMEvent *aEvent,
|
||||
const PRUnichar *strings[] = { id.get(), repeatStr.get() };
|
||||
nsXFormsUtils::ReportError(NS_LITERAL_STRING("idRefError"),
|
||||
strings, 2, mElement, mElement);
|
||||
// beaufour: This makes sense, but is not according to the spec. I guess...
|
||||
nsXFormsUtils::DispatchEvent(mElement, eEvent_BindingException);
|
||||
return NS_ERROR_ABORT;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Set the index = |indexInt|
|
||||
|
||||
Reference in New Issue
Block a user