defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2016120500; // The current module version (Date: YYYYMMDDXX).
+$plugin->version = 2016122000; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2016112900; // Requires this Moodle version.
$plugin->component = 'mod_scorm'; // Full name of the plugin (used for diagnostics).
$plugin->cron = 300;
// Onunload is called multiple times in the SCORM window - we only want to handle when it is actually closed.
setTimeout(function() {
if (winobj.closed) {
- // Redirect the parent window to the course homepage.
- parent.window.location = course_url;
+ window.location = course_url;
}
}, 800)
}