From 588d022fbb8490f0531b7e44a6af0b596409dc38 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 14 Jan 2016 23:23:12 +0100 Subject: provide some info about our contacts - status (archived, hidden, etc.), public forum (like in directory) and show since when we are connected --- view/js/mod_connections.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'view/js/mod_connections.js') diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index f29d96729..112204a5a 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -1,15 +1,16 @@ -$(document).ready(function() { +$(document).ready(function() { $("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true); + $(".autotime").timeago(); }); $("#contacts-search").keyup(function(event){ if(event.keyCode == 13){ - $("#contacts-search-submit").click(); + $("#contacts-search").click(); } }); $(".autocomplete-w1 .selected").keyup(function(event){ if(event.keyCode == 13){ - $("#contacts-search-submit").click(); + $("#contacts-search").click(); } }); -- cgit v1.2.3