diff --git a/common/lib/xmodule/xmodule/assets/vertical/public/js/vertical_student_view.js b/common/lib/xmodule/xmodule/assets/vertical/public/js/vertical_student_view.js index b045fee0de..66c37af33b 100644 --- a/common/lib/xmodule/xmodule/assets/vertical/public/js/vertical_student_view.js +++ b/common/lib/xmodule/xmodule/assets/vertical/public/js/vertical_student_view.js @@ -28,7 +28,7 @@ window.VerticalStudentView = function(runtime, element) { function(idx, block) { var blockKey = block.dataset.id; - if (block.dataset.completableByViewing === undefined) { + if (!block.dataset.completableByViewing) { return; } // TODO: EDUCATOR-1778 diff --git a/common/lib/xmodule/xmodule/video_module/video_module.py b/common/lib/xmodule/xmodule/video_module/video_module.py index b4a34f9d98..859fe03616 100644 --- a/common/lib/xmodule/xmodule/video_module/video_module.py +++ b/common/lib/xmodule/xmodule/video_module/video_module.py @@ -438,6 +438,7 @@ class VideoDescriptor(VideoFields, VideoTranscriptsMixin, VideoStudioViewHandler module_class = VideoModule transcript = module_attr('transcript') publish_completion = module_attr('publish_completion') + has_custom_completion = module_attr('has_custom_completion') show_in_read_only_mode = True diff --git a/lms/templates/vert_module.html b/lms/templates/vert_module.html index 7e7f537148..cc7cfd569a 100644 --- a/lms/templates/vert_module.html +++ b/lms/templates/vert_module.html @@ -12,7 +12,7 @@ % for idx, item in enumerate(items):