aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-07 20:06:06 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-07 20:15:33 +0100
commite025fd9de218b49f15cc710c7a3a6bbad29fc42c (patch)
treec3722fec598abdeee30be205354cc6dbe4c075ad /view/js
parent0cf016b0b049a32dd053e680f21237d039959252 (diff)
downloadvolse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.tar.gz
volse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.tar.bz2
volse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.zip
Make mail use textcomplete
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_mail.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
index 82f60f46f..9c4597866 100644
--- a/view/js/mod_mail.js
+++ b/view/js/mod_mail.js
@@ -1,13 +1,6 @@
$(document).ready(function() {
- var a;
- a = $("#recip").autocomplete({
- serviceUrl: baseurl + '/acl',
- minChars: 2,
- width: 250,
- id: 'recip-ac',
- onSelect: function(value,data) {
- $("#recip-complete").val(data);
- },
+ $("#recip").contact_autocomplete(baseurl + '/acl', function(data) {
+ $("#recip-complete").val(data.xid);
});
});