mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 19:54:08 +01:00
Merge branch 'master_MDL-27876' of git://github.com/danmarsden/moodle
This commit is contained in:
commit
16321a2bef
@ -183,6 +183,16 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
|
||||
}
|
||||
|
||||
scorm_layout_widget.setStyle('height', '100%');
|
||||
var center = scorm_layout_widget.getUnitByPosition('center');
|
||||
center.setStyle('height', '100%');
|
||||
|
||||
// calculate the rough new height
|
||||
newheight = YAHOO.util.Dom.getViewportHeight() *.82;
|
||||
if (newheight < 600) {
|
||||
newheight = 600;
|
||||
}
|
||||
scorm_layout_widget.set('height', newheight);
|
||||
|
||||
scorm_layout_widget.render();
|
||||
scorm_resize_frame();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user