aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-10 02:54:29 -0800
committerfriendica <info@friendica.com>2012-11-10 02:54:29 -0800
commitd9917dc8f89a5a14820820ed399371b24afd63f7 (patch)
treec09f6499103c0038bd81e04cb5554ba4e817ac2d /view/js
parentb1042da76c8c7f61db28879d507556baaee8e5ca (diff)
downloadvolse-hubzilla-d9917dc8f89a5a14820820ed399371b24afd63f7.tar.gz
volse-hubzilla-d9917dc8f89a5a14820820ed399371b24afd63f7.tar.bz2
volse-hubzilla-d9917dc8f89a5a14820820ed399371b24afd63f7.zip
some cleanup of mod-connections to bring it in line with the new architecture
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' }});
+
+});