Commit ee430b5a authored by Ad Schellevis's avatar Ad Schellevis

(mvc) fix empty select boxes on form (forgot to send empty items)

parent 34c4099e
......@@ -62,8 +62,8 @@ function getFormData(parent) {
if (tmp_str != "") tmp_str = tmp_str + ",";
tmp_str = tmp_str + $(this).val();
}
node[keyparts[i]] = tmp_str;
});
node[keyparts[i]] = tmp_str;
} else if ($(this).prop("type") == "checkbox") {
// checkbox input type
if ($(this).prop("checked")) {
......
Markdown is supported
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