# HG changeset patch # User Nicholas Jillings # Date 1501656029 -3600 # Node ID 2399d09c8daba0942d719a73fb7280103fac4396 # Parent 60e5116da71a4bbd6f1b0e3f76dc5a0c414bd877 Revert "Fix for #104" This reverts commit 53939067963348c9dc353ca5c441b3b5015c3d44. diff -r 60e5116da71a -r 2399d09c8dab js/core.js --- a/js/core.js Wed Aug 02 07:39:49 2017 +0100 +++ b/js/core.js Wed Aug 02 07:40:29 2017 +0100 @@ -671,12 +671,13 @@ } function postCheckbox(node) { - if (node.response === null) { - node.response = []; + if (node.response === undefined) { + node.response = Array(node.specification.options.length); } 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);