MDL-71914 mod_feedback: Add tertiary nav in feedback

This commit is contained in:
Peter Dias
2021-10-26 11:21:32 +08:00
parent 10b7badd61
commit 773051b98f
41 changed files with 1629 additions and 254 deletions
+1 -1
View File
@@ -713,7 +713,7 @@ class mod_feedback_completion extends mod_feedback_structure {
if ($this->form->is_cancelled()) {
// Form was cancelled - return to the course page.
$urltogo = course_get_url($this->courseid ?: $this->feedback->course);
$urltogo = new moodle_url('/mod/feedback/view.php', ['id' => $this->get_cm()->id]);
} else if ($this->form->is_submitted() &&
($this->form->is_validated() || $gopreviouspage)) {
// Form was submitted (skip validation for "Previous page" button).