aboutsummaryrefslogblamecommitdiffstats
path: root/view/js/mod_connections.js
blob: 68add4eedab322e373a628910fab0e6b2a02e650 (plain) (tree)
1
2
3
4
5
6
7
8
9
                              
                                                                                
                                 
    

                                            


                                              

                                                      


                                              
   
 
$(document).ready(function() {
	$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
	$(".autotime").timeago();
}); 

$("#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();
	}
});