friendica/view/templates/contacts-head.tpl

20 lines
375 B
Smarty
Raw Normal View History

2013-04-23 11:47:57 +00:00
<script>
$(document).ready(function() {
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
2013-04-23 11:47:57 +00: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 11:47:57 +00:00
</script>