mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
(mvc) fix empty select boxes on form (forgot to send empty items)
This commit is contained in:
parent
34c4099e8b
commit
ee430b5a15
@ -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")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user