MDL-46163 question/quiz: fix elements ids and their labels
This commit is contained in:
committed by
Dan Poltawski
parent
84deaaf8bb
commit
9422f6ee42
+2
-2
@@ -1045,8 +1045,8 @@ function question_category_select_menu($contexts, $top = false, $currentcat = 0,
|
||||
foreach ($categoriesarray as $group => $opts) {
|
||||
$options[] = array($group => $opts);
|
||||
}
|
||||
echo html_writer::label($selected, 'menucategory', false, array('class' => 'accesshide'));
|
||||
echo html_writer::select($options, 'category', $selected, $choose);
|
||||
echo html_writer::label(get_string('questioncategory', 'core_question'), 'id_movetocategory', false, array('class' => 'accesshide'));
|
||||
echo html_writer::select($options, 'category', $selected, $choose, array('id' => 'id_movetocategory'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user