1
0
Fork 0
friendica_2020-09-1_sharedH.../view/templates/contacts-head.tpl

20 lines
375 B
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<script>
$(document).ready(function() {
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
2013-04-23 13:47:57 +02:00
$("#contacts-search").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search").click();
}
});
$(".autocomplete-w1 .selected").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search").click();
}
});
});
2013-04-23 13:47:57 +02:00
</script>