Skip to content

Commit

Permalink
Merge branch 'MDL-34187_23' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_23_STABLE
  • Loading branch information
danpoltawski committed Jul 16, 2012
2 parents 5f3d7b1 + e9879c0 commit 00714e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/module.js
Expand Up @@ -275,7 +275,7 @@ M.mod_quiz.secure_window = {
}, '#secureclosebutton');
},

close: function(url, delay) {
close: function(Y, url, delay) {
setTimeout(function() {
if (window.opener) {
window.opener.document.location.reload();
Expand Down
4 changes: 2 additions & 2 deletions mod/quiz/renderer.php
Expand Up @@ -509,8 +509,8 @@ public function close_attempt_popup($url, $message = '') {
$output .= html_writer::tag('p', get_string('pleaseclose', 'quiz'));
$delay = 0;
}
$this->page->requires->js_function_call('M.mod_quiz.secure_window.close',
array($url, $delay));
$this->page->requires->js_init_call('M.mod_quiz.secure_window.close',
array($url, $delay), false, quiz_get_js_module());

$output .= $this->box_end();
$output .= $this->footer();
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/version.php
Expand Up @@ -25,7 +25,7 @@

defined('MOODLE_INTERNAL') || die();

$module->version = 2012061700; // The current module version (Date: YYYYMMDDXX).
$module->version = 2012061701; // The current module version (Date: YYYYMMDDXX).
$module->requires = 2012061700; // Requires this Moodle version.
$module->component = 'mod_quiz'; // Full name of the plugin (used for diagnostics).
$module->cron = 60;

0 comments on commit 00714e7

Please sign in to comment.