Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-31731 Grading form Marking Guide - fix for test 6.2, checkboxes n…

…ot saving state when clearing both.
  • Loading branch information...
commit e529ec8c09613b10085f249b439fe749ddbf5491 1 parent 7714321
@danmarsden danmarsden authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  grade/grading/form/guide/renderer.php
View
1  grade/grading/form/guide/renderer.php
@@ -388,6 +388,7 @@ protected function guide_edit_options($mode, $options) {
$html = html_writer::start_tag('div', array('class' => 'options'));
$html .= html_writer::tag('div', get_string('guideoptions', 'gradingform_guide'), array('class' => 'optionsheading'));
$attrs = array('type' => 'hidden', 'name' => '{NAME}[options][optionsset]', 'value' => 1);
+ $html .= html_writer::empty_tag('input', $attrs);
foreach ($options as $option => $value) {
$html .= html_writer::start_tag('div', array('class' => 'option '.$option));
$attrs = array('name' => '{NAME}[options]['.$option.']', 'id' => '{NAME}-options-'.$option);
Please sign in to comment.
Something went wrong with that request. Please try again.