mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
[XForms] model > * > submission makes submit crash. Bug 337983, r=doronr+aaronr.
This commit is contained in:
parent
d7b6584f3d
commit
db0c156489
@ -620,6 +620,7 @@ nsXFormsSubmissionElement::Submit()
|
||||
// http://www.w3.org/TR/2003/REC-xforms-20031014/slice4.html#evt-revalidate
|
||||
// but is it really needed for us?
|
||||
nsCOMPtr<nsIModelElementPrivate> model = GetModel();
|
||||
NS_ENSURE_STATE(model);
|
||||
model->Recalculate();
|
||||
model->Revalidate();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user