diff --git a/src/opnsense/www/js/opnsense.js b/src/opnsense/www/js/opnsense.js index 33ea0f572..4c2f5a3f2 100644 --- a/src/opnsense/www/js/opnsense.js +++ b/src/opnsense/www/js/opnsense.js @@ -52,7 +52,7 @@ function getFormData(parent) { var data = {}; $( "#"+parent+" input,#"+parent+" select,#"+parent+" textarea" ).each(function( index ) { - if ($(this).prop('id') == undefined) { + if ($(this).prop('id') === undefined || $(this).prop('id') === "") { // we need an id. return; }