moodle/blocks/activity_results
David Mudrák d84c64b7d6 MDL-52873 forms: Generate unique id attributes for modgrade elements
The previous method of generating the id attribute of the elements
within the modgrade group did not take the name of the modgrade field
into account. So if there were multiple fields of the modgrade type
added into a form (not a common case yet still valid), elements created
within the group were assigned same id attributes.

The patch introduces a new method for generating the id attribute of
modgrade elements. The new method takes the name of the modgrade group
into account and returns the id in the format similar to the default one
returned by HTML_QuickForm_element::_generateId().

The patch changes the generated id attribute. Apart from the
block_activity_results' behat feature files, not other places seem to
rely on the exact value.
2016-01-22 14:24:53 +01:00
..
backup/moodle2
db
lang/en MDL-50033 lang: Merge English strings from the en_fix language pack 2015-04-29 21:43:00 +02:00
tests/behat MDL-52873 forms: Generate unique id attributes for modgrade elements 2016-01-22 14:24:53 +01:00
block_activity_results.php MDL-51905 block_activity_results: Default to the current activity 2015-10-27 13:47:58 +08:00
edit_form.php
styles.css MDL-50207 block_activity_results: css styling on activity results block 2015-09-14 16:03:40 +08:00
version.php MDL-52059 versions: bump all versions and requires near release 2015-11-10 12:33:52 +01:00