diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 20:57:10 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 20:57:10 +0100 |
commit | 8e4d66dd7b232f487e11fab249ca30336cbb3a6f (patch) | |
tree | 043d61275841d19a5aba2d509ae01a6d82283e51 /view/js/mod_connections.js | |
parent | f2e648308c9f949899991275b77a49d9743aa14b (diff) | |
download | volse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.tar.gz volse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.tar.bz2 volse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.zip |
Make mod_connections search use textcomplete
Diffstat (limited to 'view/js/mod_connections.js')
-rw-r--r-- | view/js/mod_connections.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index 8a8f2fee6..6393630b3 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -1,13 +1,5 @@ $(document).ready(function() { - var a; - a = $("#contacts-search").autocomplete({ - serviceUrl: baseurl + '/acl', - minChars: 2, - width: 250, - id: 'contact-search-ac', - }); - a.setOptions({ autoSubmit: true, params: { type: 'a' }}); - + $("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a'); }); $("#contacts-search").keyup(function(event){ |