From c438882f74d80c01b58ad087555102f01af48610 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Sat, 1 Apr 2017 00:19:18 +0200 Subject: [PATCH] bugfix --- resource/web/js/hal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resource/web/js/hal.js b/resource/web/js/hal.js index 6da6657b..6e1a60d0 100755 --- a/resource/web/js/hal.js +++ b/resource/web/js/hal.js @@ -156,6 +156,7 @@ function initDynamicModalForm(modalId, formTemplateId, templateID){ return this.name.toLowerCase() == fieldName; }); if (input.attr("type") == "checkbox") { // special handling for checkboxes + input.attr("value", "true"); if (value=="true") input.attr("checked", "true"); else input.removeAttr("checked"); // Add default false value as a unchecked checkbox is not included in the post