aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_connections.js
blob: 68add4eedab322e373a628910fab0e6b2a02e650 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(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();
	}
});