Fixed a problem with true-false type for correct responses

This commit is contained in:
csantossaenz 2007-06-19 14:56:36 +00:00
parent 84e3d2ccf5
commit 090be7435c

View File

@ -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 {