2014-09-06 00:14:25 +02:00
|
|
|
|
2013-04-23 13:47:57 +02:00
|
|
|
<script>
|
2016-01-22 17:47:48 +01:00
|
|
|
$(document).ready(function() {
|
|
|
|
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
|
|
|
|
|
2013-04-23 13:47:57 +02:00
|
|
|
|
2016-01-22 17:47:48 +01:00
|
|
|
$("#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();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
2013-04-23 13:47:57 +02:00
|
|
|
</script>
|
|
|
|
|