XForms Bug 299032 - Input not validated on load. r=aaronr/allan a=mkaply

This commit is contained in:
doronr%us.ibm.com 2005-07-05 21:03:20 +00:00
Родитель 61aaef692a
Коммит 06efb3d5f6
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -1542,6 +1542,14 @@ nsXFormsModelElement::ProcessBind(nsIXFormsXPathEvaluator *aEvaluator,
multiMIP = PR_TRUE;
break;
}
if (j == eModel_type) {
// Inform MDG that it needs to check type. The only arguments
// actually used are |eModel_constraint| and |node|.
rv = mMDG.AddMIP(eModel_constraint, nsnull, nsnull, PR_FALSE, node, 1,
1);
NS_ENSURE_SUCCESS(rv, rv);
}
} else {
// the rest of the MIPs are given to the MDG
nsCOMPtr<nsIDOMNSXPathExpression> expr = props[j];