diff --git a/app/assets/javascripts/repositories/renderers/columns/checklist.js b/app/assets/javascripts/repositories/renderers/columns/checklist.js index e136109f8..39bbf88df 100644 --- a/app/assets/javascripts/repositories/renderers/columns/checklist.js +++ b/app/assets/javascripts/repositories/renderers/columns/checklist.js @@ -20,10 +20,18 @@ var ChecklistColumnHelper = (function() { } function checklistHiddenField(formId, columnId, values) { + var idList = []; + if (values) { + $.each(values, function(i, option) { + idList.push(option.value); + }); + } else { + idList = ''; + } return $(``); }