mirror of
https://github.com/friendica/friendica
synced 2024-11-16 12:13:54 +00:00
18 lines
297 B
Smarty
18 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>
|
||
|
|