MDL-78430 core_grades: Carry over basic grade item data to advanced form

This commit is contained in:
Mihail Geshoski
2023-07-28 16:16:19 +08:00
committed by Ilya Tregubov
parent a1d5d1b2f7
commit b5a87c1919
5 changed files with 23 additions and 4 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ class add_item extends dynamic_form {
$url = new moodle_url('/grade/edit/tree/item.php', ['id' => $id, 'courseid' => $courseid]);
$url = $this->gpr->add_url_params($url);
$url = '<a href="' . $url . '">' . get_string('showmore', 'form') .'</a>';
$url = '<a class="showadvancedform" href="' . $url . '">' . get_string('showmore', 'form') .'</a>';
$mform->addElement('static', 'advancedform', $url);
// Add return tracking info.