1
1
Fork 0
friendica_2019-12_sharedHos.../view/templates/poke_head.tpl
2015-10-24 19:51:58 +02:00

18 lines
No EOL
364 B
Smarty

<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.js" ></script>
<script>$(document).ready(function() {
var a;
a = $("#poke-recip").autocomplete({
serviceUrl: '{{$base}}/acl',
minChars: 2,
width: 350,
onSelect: function(value,data) {
$("#poke-recip-complete").val(data);
}
});
a.setOptions({ params: { type: 'a' }});
});
</script>