Make mod_connections search use textcomplete
This commit is contained in:
parent
f2e648308c
commit
8e4d66dd7b
@ -1,13 +1,5 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var a;
|
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a');
|
||||||
a = $("#contacts-search").autocomplete({
|
|
||||||
serviceUrl: baseurl + '/acl',
|
|
||||||
minChars: 2,
|
|
||||||
width: 250,
|
|
||||||
id: 'contact-search-ac',
|
|
||||||
});
|
|
||||||
a.setOptions({ autoSubmit: true, params: { type: 'a' }});
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#contacts-search").keyup(function(event){
|
$("#contacts-search").keyup(function(event){
|
||||||
|
Reference in New Issue
Block a user