diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 20:06:06 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 20:15:33 +0100 |
commit | e025fd9de218b49f15cc710c7a3a6bbad29fc42c (patch) | |
tree | c3722fec598abdeee30be205354cc6dbe4c075ad /view/js/mod_mail.js | |
parent | 0cf016b0b049a32dd053e680f21237d039959252 (diff) | |
download | volse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.tar.gz volse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.tar.bz2 volse-hubzilla-e025fd9de218b49f15cc710c7a3a6bbad29fc42c.zip |
Make mail use textcomplete
Diffstat (limited to 'view/js/mod_mail.js')
-rw-r--r-- | view/js/mod_mail.js | 11 |
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); }); }); |