Commit 7a0af4c7 authored by Frédéric Escudié's avatar Frédéric Escudié
Browse files

Fix bug with excluded/invisible checkboxes management in run workflow.

parent 73730458
...@@ -453,8 +453,10 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -453,8 +453,10 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
} }
$("#workflow_form :checkbox").each(function(){ $("#workflow_form :checkbox").each(function(){
if( $(this).parents("[id^=handsontable_]").length == 0 ){ // Exclude checkboxes from handsontable if( $(this).is(":visible") ){
if (!$(this).prop('checked')) { params += $(this).attr("name") + "=false&"; } if( $(this).parents("[id^=handsontable_]").length == 0 ){ // Exclude checkboxes from handsontable
if (!$(this).prop('checked')) { params += $(this).attr("name") + "=false&"; }
}
} }
}); });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment