Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'm22_MDL-32794' of git://github.com/danmarsden/moodle in…

…to MOODLE_22_STABLE
  • Loading branch information...
commit 843599ae8611fd3d512002a2aa38c4956834ff6d 2 parents 5a6042c + 4e3a4dd
@samhemelryk samhemelryk authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mod/scorm/module.js
View
3  mod/scorm/module.js
@@ -363,6 +363,9 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
scorm_tree_node = tree;
tree.singleNodeHighlight = true;
tree.subscribe('labelClick', function(node) {
+ if (node.title == '' || node.title == null) {
+ return; //this item has no navigation
+ }
scorm_activate_item(node);
if (node.children.length) {
scorm_bloody_labelclick = true;
Please sign in to comment.
Something went wrong with that request. Please try again.