Improved: Fix OFBiz specific Javascript security issues reported by GH CodeQL
Oops, fixes a syntax issue
@@ -879,7 +879,7 @@ function ajaxAutoCompleter(areaCsvString, showDescription, defaultMinLength, def
var queryArgs = {"term": request.term};
if (typeof args == "object" && jQuery.isArray(args)) {
for (var i = 0; i < args.length; i++) {
- queryArgs["parm" + i] = jQuery(DOMPurify.sanitize(args[i]).val()
+ queryArgs["parm" + i] = jQuery(DOMPurify.sanitize(args[i]).val())
}
}
jQuery.ajax({
