From ba1cb0bb059bfcd20ec2a14b70c4a79b4a222977 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 17 Apr 2013 22:45:22 -0700 Subject: move js from module to to module-specific js file --- view/js/mod_poke.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 view/js/mod_poke.js (limited to 'view') 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' }}); + +}); -- cgit v1.2.3