aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_poke.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-17 22:45:22 -0700
committerfriendica <info@friendica.com>2013-04-17 22:45:22 -0700
commitba1cb0bb059bfcd20ec2a14b70c4a79b4a222977 (patch)
tree12573c920201bf0ffbcb8255bb8922a70d739855 /view/js/mod_poke.js
parente99b9376a0151903f1d88f4570c907e6a8228db0 (diff)
downloadvolse-hubzilla-ba1cb0bb059bfcd20ec2a14b70c4a79b4a222977.tar.gz
volse-hubzilla-ba1cb0bb059bfcd20ec2a14b70c4a79b4a222977.tar.bz2
volse-hubzilla-ba1cb0bb059bfcd20ec2a14b70c4a79b4a222977.zip
move js from module to to module-specific js file
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' }});
+
+});