Merge pull request #17240 from edx/sofiya/ed-2140

Video completion recording does not happen at the end of the video
This commit is contained in:
Sofiya Semenova
2018-01-22 11:38:00 -05:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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