mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-30652 SCORM Fixing report prefrences display for interactions report
This commit is contained in:
parent
8755b6aaca
commit
9f097a7248
1 changed files with 6 additions and 5 deletions
|
@ -583,17 +583,18 @@ class scorm_interactions_report extends scorm_default_report {
|
|||
echo '</tr></table>';
|
||||
}
|
||||
}
|
||||
if (!$download) {
|
||||
$mform->set_data(compact('detailedrep', 'pagesize', 'attemptsmode'));
|
||||
$mform->display();
|
||||
}
|
||||
} else {
|
||||
if ($candelete && !$download) {
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
$table->finish_output();
|
||||
}
|
||||
echo '</div>';
|
||||
echo $OUTPUT->notification(get_string('noactivity', 'scorm'));
|
||||
}
|
||||
// Show preferences form irrespective of attempts are there to report or not
|
||||
if (!$download) {
|
||||
$mform->set_data(compact('detailedrep', 'pagesize', 'attemptsmode'));
|
||||
$mform->display();
|
||||
}
|
||||
if ($download == 'Excel' or $download == 'ODS') {
|
||||
$workbook->close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue