Commit 5bf6420b authored by Ad Schellevis's avatar Ad Schellevis

(mvc) getFormData issue when selecting multiple options

parent f1563de1
......@@ -61,7 +61,7 @@ function getFormData(parent) {
sourceNode.children().each(function(index){
if ($(this).prop("selected")){
if (tmp_str != "") tmp_str = tmp_str + ",";
tmp_str = tmp_str + sourceNode.val();
tmp_str = tmp_str + $(this).val();
}
});
node[keypart] = tmp_str;
......
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