# HG changeset patch # User Nicholas Jillings # Date 1501655989 -3600 # Node ID db6c52995118a41b966ae2de38e91676a83f1e71 # Parent 03a66e54cdff24a98d0085c11a0a4c59758e1437 Fix for #104 diff -r 03a66e54cdff -r db6c52995118 js/core.js --- a/js/core.js Tue Aug 01 14:19:45 2017 +0100 +++ b/js/core.js Wed Aug 02 07:39:49 2017 +0100 @@ -671,13 +671,12 @@ } function postCheckbox(node) { - if (node.response === undefined) { - node.response = Array(node.specification.options.length); + if (node.response === null) { + node.response = []; } var table = document.createElement("table"); table.className = "popup-option-list"; table.border = "0"; - node.response = []; node.specification.options.forEach(function (option, index) { var tr = document.createElement("tr"); table.appendChild(tr);