mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. only set browsed status if the SCO hasn't set a status.
This commit is contained in:
parent
8ba4f1e03e
commit
e4f976a896
@ -591,7 +591,7 @@ function SCORMapi1_2() {
|
||||
}
|
||||
}
|
||||
if (cmi.core.lesson_mode == 'browse') {
|
||||
if (datamodel['cmi.core.lesson_status'].defaultvalue == '') {
|
||||
if (datamodel['cmi.core.lesson_status'].defaultvalue == '' && cmi.core.lesson_status == 'not attempted') {
|
||||
cmi.core.lesson_status = 'browsed';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user