mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-35404 question export: make it work with slasharguments off.
Thanks to Brian King for working out the problem and how to fix it. I am just committing his patch.
This commit is contained in:
parent
851d3b7a97
commit
7c86af621e
@ -73,7 +73,7 @@ if ($from_form = $export_form->get_data()) {
|
||||
echo get_string('yourfileshoulddownload', 'question', $export_url->out());
|
||||
echo $OUTPUT->box_end();
|
||||
|
||||
$PAGE->requires->js_function_call('document.location.replace', array($export_url->out()), false, 1);
|
||||
$PAGE->requires->js_function_call('document.location.replace', array($export_url->out(false)), false, 1);
|
||||
|
||||
echo $OUTPUT->continue_button(new moodle_url('edit.php', $thispageurl->params()));
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user