From a4b4365f7b3c7d3c9988f5d605d5e81e3dde9e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 26 May 2016 21:00:06 +0200 Subject: [PATCH] fix #15: comment function checkNullValuesInChoices --- Resources/public/js/chill.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Resources/public/js/chill.js b/Resources/public/js/chill.js index 62b1ca89f..d04a8266c 100644 --- a/Resources/public/js/chill.js +++ b/Resources/public/js/chill.js @@ -124,7 +124,12 @@ var chill = function() { } /** - * TODO : DOC + * Mark the choices "not specified" as check by default. + * + * This function apply to `custom field choices` when the `required` + * option is false and `expanded` is true (checkboxes or radio buttons). + * + * @param{string} choice_name the name of the input */ function checkNullValuesInChoices(choice_name) { var choices;