diff --git a/Asset/js/enhance-recurrence.js b/Asset/js/enhance-recurrence.js index 9c3f9b0..941cfe4 100644 --- a/Asset/js/enhance-recurrence.js +++ b/Asset/js/enhance-recurrence.js @@ -18,6 +18,8 @@ var group = document.createElement("span"); group.className = "ot-recurrence-status"; + var radios = []; + for (var i = 0; i < select.options.length; i++) { var opt = select.options[i]; @@ -30,15 +32,21 @@ var radio = document.createElement("input"); radio.type = "radio"; - radio.name = "ot-recurrence-status"; + // No name attribute on purpose: a named radio would be SUBMITTED with the form, + // and Kanboard rejects the extra key ("invalid identifier"). These are display + // only -- the hidden