aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_mail.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_mail.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);
});
});