blob: b7352d3369927e8ef5c0bf1b618e6ec562574569 (
plain) (
tree)
|
|
$(document).ready(function() {
var a;
a = $("#contacts-search").autocomplete({
serviceUrl: baseurl + '/acl',
minChars: 2,
width: 350,
});
a.setOptions({ params: { autoSubmit: true, type: 'a' }});
});
$("#contacts-search").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search-submit").click();
}
});
$(".autocomplete-w1 .selected").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search-submit").click();
}
});
|