Browse files

SCORM MDL-24579 remove badly formatted debugging code - thanks to Pet…

…er Chamberlain for report.
  • Loading branch information...
1 parent 89d7934 commit ab34dd9ca94b7a10e64c1b176e1e5c14f107c7cb @danmarsden danmarsden committed Nov 10, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −3 mod/scorm/datamodels/scorm_13.js.php
View
3 mod/scorm/datamodels/scorm_13.js.php
@@ -578,9 +578,6 @@ function SetValue (element,value) {
} else {
nodes[0] = value;
}
- if (interactiontype == 'choice' && nodes.length == 1) {
- alert('not enough choices: ' + element);
- }
if ((nodes.length > 0) && (nodes.length <= correct_responses[interactiontype].max)) {
errorCode = CRcheckValueNodes (element, interactiontype, nodes, value, errorCode);
} else if (nodes.length > correct_responses[interactiontype].max) {

0 comments on commit ab34dd9

Please sign in to comment.