aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_poke.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_poke.js')
-rw-r--r--view/js/mod_poke.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/js/mod_poke.js b/view/js/mod_poke.js
new file mode 100644
index 000000000..78972888f
--- /dev/null
+++ b/view/js/mod_poke.js
@@ -0,0 +1,14 @@
+$(document).ready(function() {
+ var a;
+ a = $("#poke-recip").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 250,
+ id: 'poke-recip-ac',
+ onSelect: function(value,data) {
+ $("#poke-recip-complete").val(data);
+ }
+ });
+ a.setOptions({ params: { type: 'a' }});
+
+});