This commit is contained in:
Andrew Nicols 2023-06-15 11:06:58 +08:00
commit a00177fd8f
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -1738,7 +1738,7 @@ function course_get_cm_edit_actions(cm_info $mod, $indent = -1, $sr = null) {
$enabledclass = '';
}
$actions['moveleft'] = new action_menu_link_secondary(
new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '0']),
new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '-1']),
new pix_icon($leftarrow, '', 'moodle', ['class' => 'iconsmall']),
$str->moveleft,
[