friendica/view/templates/contacts-head.tpl

19 lines
298 B
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<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>