diff options
Diffstat (limited to 'view')
-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); }); }); |