aboutsummaryrefslogtreecommitdiffstats
path: root/view/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
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')
-rw-r--r--view/js/autocomplete.js2
-rw-r--r--view/js/mod_connections.js7
2 files changed, 5 insertions, 4 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 511a7f815..437425a0e 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -196,4 +196,4 @@ function submit_form(e) {
if(typeof onselect !== 'undefined')
a.on('textComplete:select', function(e, value, strategy) { onselect(value); });
};
-})( jQuery ); \ No newline at end of file
+})( jQuery );
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();
}
});