diff --git a/src/opnsense/www/js/opnsense.js b/src/opnsense/www/js/opnsense.js index a137bbd39..af7462962 100644 --- a/src/opnsense/www/js/opnsense.js +++ b/src/opnsense/www/js/opnsense.js @@ -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;