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.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/js/mod_poke.js b/view/js/mod_poke.js
new file mode 100644
index 000000000..fa00ac2d5
--- /dev/null
+++ b/view/js/mod_poke.js
@@ -0,0 +1,13 @@
+$(document).ready(function() {
+ var a;
+ a = $("#poke-recip").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 350,
+ onSelect: function(value,data) {
+ $("#poke-recip-complete").val(data);
+ }
+ });
+ a.setOptions({ params: { type: 'a' }});
+
+});