mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-46818-master-fixup' of https://github.com/FMCorz/moodle
This commit is contained in:
commit
4525ff2cfb
@ -335,7 +335,7 @@ if (!$moving) {
|
||||
if (!$moving && count($grade_edit_tree->categories) > 1) {
|
||||
echo '<br /><br />';
|
||||
echo '<input type="hidden" name="bulkmove" value="0" id="bulkmoveinput" />';
|
||||
$attributes = array('id'=>'menumoveafter');
|
||||
$attributes = array('id'=>'menumoveafter', 'class' => 'ignoredirty');
|
||||
echo html_writer::label(get_string('moveselectedto', 'grades'), 'menumoveafter');
|
||||
echo html_writer::select($grade_edit_tree->categories, 'moveafter', '', array(''=>'choosedots'), $attributes);
|
||||
$OUTPUT->add_action_handler(new component_action('change', 'submit_bulk_move'), 'menumoveafter');
|
||||
|
@ -1199,7 +1199,7 @@ class grade_edit_tree_column_select extends grade_edit_tree_column {
|
||||
if ($params['itemtype'] != 'course' && $params['itemtype'] != 'category') {
|
||||
$itemselect = '<label class="accesshide" for="select_'.$params['eid'].'">'.
|
||||
get_string('select', 'grades', $item->itemname).'</label>
|
||||
<input class="itemselect" type="checkbox" name="select_'.$params['eid'].'" id="select_'.$params['eid'].
|
||||
<input class="itemselect ignoredirty" type="checkbox" name="select_'.$params['eid'].'" id="select_'.$params['eid'].
|
||||
'" onchange="toggleCategorySelector();"/>'; // TODO: convert to YUI handler
|
||||
}
|
||||
//html_writer::table() will wrap the item cell contents in a <TD> so don't do it here
|
||||
|
Loading…
x
Reference in New Issue
Block a user