mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Fixed a problem with true-false type for correct responses
This commit is contained in:
parent
84e3d2ccf5
commit
090be7435c
@ -747,7 +747,7 @@ function SCORMapi1_3() {
|
||||
|
||||
matches = nodes[i].match(expression);
|
||||
//if ((matches == null) || (matches.join('').length == 0)) {
|
||||
if (matches == null && value != "") {
|
||||
if ((matches == null && value != "")||(matches == null && interactiontype=="true-false")){
|
||||
|
||||
errorCode = "406";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user