mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
patched a parse error
This commit is contained in:
parent
5eb1924f01
commit
416050aa9a
@ -387,7 +387,7 @@ function SCORMapi1_3() {
|
||||
elementmodel = element.replace(expression,'.n.');
|
||||
if ((typeof eval('datamodel["'+elementmodel+'"]')) != "undefined") {
|
||||
if (eval('datamodel["'+elementmodel+'"].mod') != 'r') {
|
||||
if (eval(datamodel["'+elementmodel+'"].format) != 'CMIFeedback') {
|
||||
if (eval('datamodel["'+elementmodel+'"].format') != 'CMIFeedback') {
|
||||
expression = new RegExp(eval('datamodel["'+elementmodel+'"].format'));
|
||||
} else {
|
||||
// cmi.interactions.n.type depending format accept everything at this stage
|
||||
|
Loading…
x
Reference in New Issue
Block a user