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:
doronr%us.ibm.com
2005-09-02 17:23:36 +00:00
parent 7315d7cd21
commit 4f456ba3ec
30 changed files with 1323 additions and 1027 deletions

View File

@@ -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|