diff --git a/mod/scorm/mod.html b/mod/scorm/mod.html index 3bb8c070858..6ed9c1d7ad2 100755 --- a/mod/scorm/mod.html +++ b/mod/scorm/mod.html @@ -100,6 +100,10 @@ $strmenubar = get_string('menubar', 'scorm'); $strtoolbar = get_string('toolbar', 'scorm'); $strstatus = get_string('statusbar', 'scorm'); + $strerrorlog = get_string('errorlogs','scorm'); + $strvalidation = print_string('validation','scorm'); + $strerrorlog = addslashes_js($strerrorlog); + $strvalidation = addslashes_js($strvalidation); ?> @@ -161,9 +165,11 @@ return false; } } else { - result = ': '+ result + '\n'; + //result = ': '+ result + '\n'; + result = ': '+ result + '\n'; if (errorlogs != '') { - result.concat(':\n'+errorlogs); + //result.concat(':\n'+errorlogs); + result = ': '+ result + '\n'; } alert(result); return false;