mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-36984-master' of git://github.com/phalacee/moodle
This commit is contained in:
commit
2b08f90aca
1 changed files with 3 additions and 2 deletions
|
@ -451,8 +451,8 @@ class assign {
|
|||
// Save changes button.
|
||||
$action = 'grade';
|
||||
if ($this->process_save_grade($mform)) {
|
||||
$message = get_string('gradingchangessaved', 'assign');
|
||||
$action = 'savegradingresult';
|
||||
$action = 'redirect';
|
||||
$nextpageparams['action'] = 'savegradingresult';
|
||||
}
|
||||
} else {
|
||||
// Cancel button.
|
||||
|
@ -488,6 +488,7 @@ class assign {
|
|||
redirect($nextpageurl);
|
||||
return;
|
||||
} else if ($action == 'savegradingresult') {
|
||||
$message = get_string('gradingchangessaved', 'assign');
|
||||
$o .= $this->view_savegrading_result($message);
|
||||
} else if ($action == 'quickgradingresult') {
|
||||
$mform = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue