aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-07 20:57:10 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-07 20:57:10 +0100
commit8e4d66dd7b232f487e11fab249ca30336cbb3a6f (patch)
tree043d61275841d19a5aba2d509ae01a6d82283e51 /view
parentf2e648308c9f949899991275b77a49d9743aa14b (diff)
downloadvolse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.tar.gz
volse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.tar.bz2
volse-hubzilla-8e4d66dd7b232f487e11fab249ca30336cbb3a6f.zip
Make mod_connections search use textcomplete
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_connections.js10
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){