aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_message.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/js/mod_message.js b/view/js/mod_message.js
new file mode 100644
index 000000000..e3318ce6b
--- /dev/null
+++ b/view/js/mod_message.js
@@ -0,0 +1,12 @@
+$(document).ready(function() {
+ var a;
+ a = $("#recip").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 350,
+ onSelect: function(value,data) {
+ $("#recip-complete").val(data);
+ }
+ });
+
+});