friendica_2021-01/view/smarty3/contacts-head.tpl
2012-12-22 12:57:29 -07:00

17 lines
297 B
Smarty

<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.js" ></script>
<script>
$(document).ready(function() {
var a;
a = $("#contacts-search").autocomplete({
serviceUrl: '{{$base}}/acl',
minChars: 2,
width: 350,
});
a.setOptions({ params: { type: 'a' }});
});
</script>