Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…/moodle
  • Loading branch information...
commit 9ceaf7b5a0992eb863e15f1506e800c93476c789 2 parents cbbc272 + 71550f6
@skodak skodak authored
Showing with 1 addition and 7 deletions.
  1. +0 −6 mod/scorm/module.js
  2. +1 −1  mod/scorm/version.php
View
6 mod/scorm/module.js
@@ -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
View
2  mod/scorm/version.php
@@ -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)?
Please sign in to comment.
Something went wrong with that request. Please try again.