]> git.mxchange.org Git - friendica.git/blob - view/templates/contacts-head.tpl
fix preloading
[friendica.git] / view / templates / contacts-head.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6
7 <script src="{{$baseurl}}/library/jquery_ac/friendica.complete.js" ></script>
8
9 <script>
10 $(document).ready(function() { 
11         var a; 
12         a = $("#contacts-search").autocomplete({ 
13                 serviceUrl: '{{$base}}/acl',
14                 minChars: 2,
15                 width: 350,
16         });
17         a.setOptions({ params: { type: 'a' }});
18
19 }); 
20
21 </script>
22