зеркало из https://github.com/mozilla/pjs.git
[XForms] model > * > submission makes submit crash. Bug 337983, r=doronr+aaronr.
This commit is contained in:
Родитель
945bb29fce
Коммит
981b91b167
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче