diff js/core.js @ 2318:fa52c9ea2486

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Fri, 29 Apr 2016 16:20:56 +0100
parents 0ca5bcfdc2d4
children 6897339ac651
line wrap: on
line diff
--- a/js/core.js	Fri Apr 29 15:21:00 2016 +0100
+++ b/js/core.js	Fri Apr 29 16:20:56 2016 +0100
@@ -809,10 +809,9 @@
 					if (node.specification.mandatory == true)
 					{
 						alert("This radio is mandatory");
-					} else {
-						node.response = -1;
+                        return;
 					}
-					return;
+                    break;
 				}
 				if (inputs[i].checked == true) {
 					node.response = node.specification.options[i];