$string['noactivity'] = 'Nothing to report';
$string['nolimit'] = 'Unlimited attempts';
$string['nomanifest'] = 'Manifest not found';
-$string['noprerequisites'] = 'Sorry but you don\'t reach enough prerequisites to access this learning object';
+$string['noprerequisites'] = 'Sorry but you haven\'t reach enough prerequisites to access this learning object';
$string['noreports'] = 'No report to display';
$string['normal'] = 'Normal';
$string['noscriptnoscorm'] = 'Your browser does not support javascript or it has javascript support disabled. No tracks will recorded.';
}
} else {
if (element == 'cmi.comments') {
- eval(element+'=value;');
+ cmi.comments = cmi.comments + value;
} else {
eval(element+'=value;');
}
if (cmi.core.lesson_mode == 'normal') {
if (cmi.core.credit == 'credit') {
if (cmi.core.lesson_status == 'completed') {
- if (cmi.student_data.mastery_score != '') {
+ if (cmi.student_data.mastery_score != '' && cmi.core.score.raw != '') {
if (parseFloat(cmi.core.score.raw) >= parseFloat(cmi.student_data.mastery_score)) {
cmi.core.lesson_status = 'passed';
} else {