Commit a54042c3 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

fixe a bug with escape value and bool vals

parent e98d00af
......@@ -92,9 +92,9 @@
var params = "",
$this = this;
$.each ( $('#workflow_form').serializeArray(), function(_, kv) {
params += kv.name + "=" +kv.value + "&";
params += kv.name + "=" +escape(kv.value) + "&";
});
$(":checkbox").each(function(){
$("#workflow_form :checkbox").each(function(){
if (!$(this).prop('checked')) { params += $(this).attr("name") + "=false&"; }
})
$.ajax({
......
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