Revert "Merge branch 'wip-mdl-48624-m27' of https://github.com/rajeshtaneja/moodle into MOODLE_27_STABLE"
This reverts commit85ea64f5ee, reversing changes made to1db2e142a2.
This commit is contained in:
+1
-4
@@ -73,10 +73,7 @@ if ($from_form = $export_form->get_data()) {
|
||||
echo get_string('yourfileshoulddownload', 'question', $export_url->out());
|
||||
echo $OUTPUT->box_end();
|
||||
|
||||
// Don't allow force download for behat site, as pop-up can't be handled by selenium.
|
||||
if (!defined('BEHAT_SITE_RUNNING')) {
|
||||
$PAGE->requires->js_function_call('document.location.replace', array($export_url->out(false)), 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();
|
||||
|
||||
Reference in New Issue
Block a user