aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_connections.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js
new file mode 100644
index 000000000..1880222bc
--- /dev/null
+++ b/view/js/mod_connections.js
@@ -0,0 +1,10 @@
+$(document).ready(function() {
+ var a;
+ a = $("#contacts-search").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 350,
+ });
+ a.setOptions({ params: { type: 'a' }});
+
+});