mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'm29_MDL-46467' of https://github.com/totara/moodle
This commit is contained in:
commit
43bde1b9fd
2 changed files with 2 additions and 1 deletions
|
@ -186,7 +186,7 @@ class HTML_QuickForm_Renderer_Tableless extends HTML_QuickForm_Renderer_Default
|
|||
} else {
|
||||
$id = $element->getName();
|
||||
}
|
||||
if (!empty($id) and !$element->isFrozen() and !is_a($element, 'MoodleQuickForm_group') and !is_a($element, 'HTML_QuickForm_static')) { // moodle hack
|
||||
if (!empty($id) and !is_a($element, 'MoodleQuickForm_group') and !is_a($element, 'HTML_QuickForm_static')) { // moodle hack
|
||||
$html = str_replace('<label', '<label for="' . $id . '"', $html);
|
||||
$element_html = preg_replace('#name="' . $id . '#',
|
||||
'id="' . $id . '" name="' . $id . '',
|
||||
|
|
|
@ -21,3 +21,4 @@ Most probably we will stop using this library in the future.
|
|||
|
||||
MDL-20876 - replaced split() with explode() or preg_split() where appropriate
|
||||
MDL-40267 - Moodle core_text strlen functions used for range rule rule to be utf8 safe.
|
||||
MDL-46467 - $mform->hardfreeze causes labels to loose their for HTML attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue