Commit 9ceaf7b5 authored by Petr Skoda's avatar Petr Skoda
Browse files

Merge branch 'm20_MDL-26212_resizefix' of git://github.com/danmarsden/moodle

parents cbbc2725 71550f6f
......@@ -178,12 +178,6 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
if (alsowidth) {
scorm_layout_widget.setStyle('width', '');
var newwidth = scorm_get_htmlelement_size('content', 'width');
if (newwidth > 600) {
scorm_layout_widget.setStyle('width', newwidth+'px');
}
else {
scorm_layout_widget.setStyle('width', '600px');
}
}
// make sure that the max width of the TOC doesn't go to far
......
......@@ -6,7 +6,7 @@
/////////////////////////////////////////////////////////////////////////////////
$module->version = 2011013100; // The (date) version of this module
$module->version = 2011021400; // The (date) version of this module
$module->requires = 2010080300; // The version of Moodle that is required
$module->cron = 300; // How often should cron check this module (seconds)?
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment