comparison 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
comparison
equal deleted inserted replaced
2314:cbc26d0f104a 2318:fa52c9ea2486
807 if (i == inputs.length) 807 if (i == inputs.length)
808 { 808 {
809 if (node.specification.mandatory == true) 809 if (node.specification.mandatory == true)
810 { 810 {
811 alert("This radio is mandatory"); 811 alert("This radio is mandatory");
812 } else { 812 return;
813 node.response = -1;
814 } 813 }
815 return; 814 break;
816 } 815 }
817 if (inputs[i].checked == true) { 816 if (inputs[i].checked == true) {
818 node.response = node.specification.options[i]; 817 node.response = node.specification.options[i];
819 console.log("Selected: "+ node.specification.options[i].name); 818 console.log("Selected: "+ node.specification.options[i].name);
820 } 819 }