# HG changeset patch # User Nicholas Jillings # Date 1461941291 -3600 # Node ID 0ca5bcfdc2d4f4d8353d27db66007c39b1b1b5e9 # Parent a7e50a52a89652d91852f789b00c173794f7a727 Fix for #16 diff -r a7e50a52a896 -r 0ca5bcfdc2d4 js/core.js --- a/js/core.js Fri Apr 29 15:36:29 2016 +0100 +++ b/js/core.js Fri Apr 29 15:48:11 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];