]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/contacts-head.tpl
Merge pull request #6462 from annando/gplus
[friendica.git] / view / templates / contacts-head.tpl
index d525e834f9a4109313cc9296fb10029516f8f474..ea562233f442730a5bba8f981454b832d04be4f2 100644 (file)
@@ -1,22 +1,7 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
-
-<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' }});
-
-}); 
-
+$(document).ready(function() {
+       $("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
+});
 </script>