aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_connections.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-14 23:23:12 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-14 23:23:12 +0100
commit588d022fbb8490f0531b7e44a6af0b596409dc38 (patch)
tree0c6971f5c8b41b7e2898297cdbaa4a228486b5e1 /view/js/mod_connections.js
parent9f9fdc1434b7283171f8d843f225228cdb322115 (diff)
downloadvolse-hubzilla-588d022fbb8490f0531b7e44a6af0b596409dc38.tar.gz
volse-hubzilla-588d022fbb8490f0531b7e44a6af0b596409dc38.tar.bz2
volse-hubzilla-588d022fbb8490f0531b7e44a6af0b596409dc38.zip
provide some info about our contacts - status (archived, hidden, etc.), public forum (like in directory) and show since when we are connected
Diffstat (limited to 'view/js/mod_connections.js')
-rw-r--r--view/js/mod_connections.js7
1 files changed, 4 insertions, 3 deletions
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();
}
});