move js from module to to module-specific js file

This commit is contained in:
friendica 2013-04-17 22:45:22 -07:00
parent e99b9376a0
commit ba1cb0bb05

13
view/js/mod_poke.js Normal file
View File

@ -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' }});
});