diff --git a/htdocs/lib/ajax.lib.php b/htdocs/lib/ajax.lib.php index 74b54df8cd9a958407e119ecaffa4e3c4f783879..f71ddf88836b1970413c4a80510d89f11686cd45 100644 --- a/htdocs/lib/ajax.lib.php +++ b/htdocs/lib/ajax.lib.php @@ -121,6 +121,7 @@ function ajax_autocompleter($selected='',$htmlname,$url,$option='') jQuery("#'.$htmlname.'").val(item.key); } var label = item.label.toString(); + //label = label.replace(new RegExp("("+request.term+")","i"),"<strong>$1</strong>"); return { label: label, value: item.value, id: item.key} })); }, "json");