provide some info about our contacts - status (archived, hidden, etc.), public forum (like in directory) and show since when we are connected

This commit is contained in:
Mario Vavti
2016-01-14 23:23:12 +01:00
parent 9f9fdc1434
commit 588d022fbb
5 changed files with 61 additions and 7 deletions

View File

@@ -196,4 +196,4 @@ function submit_form(e) {
if(typeof onselect !== 'undefined')
a.on('textComplete:select', function(e, value, strategy) { onselect(value); });
};
})( jQuery );
})( jQuery );

View File

@@ -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();
}
});