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