MDL-65217 form: id for error area

This commit is contained in:
Marina Glancy 2019-04-09 14:00:14 +02:00
parent 086aa543b9
commit 521989ec56
28 changed files with 34 additions and 34 deletions

View file

@ -4593,8 +4593,7 @@ EOD;
// The id will be something like 'fgroup_id_NAME'. E.g. fgroup_id_mygroup.
$elementcontext['wrapperid'] = $elementcontext['id'];
// Ensure group elements pass through the group name as the element name so the id_error_{{element.name}} is
// properly set in the template.
// Ensure group elements pass through the group name as the element name.
$elementcontext['name'] = $elementcontext['groupname'];
} else {
// Non grouped element.