set minchars to 2 for contacts search
This commit is contained in:
parent
49732114d7
commit
6f41594634
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ function contacts_init(&$a) {
|
||||||
var a;
|
var a;
|
||||||
a = $("#contacts-search").autocomplete({
|
a = $("#contacts-search").autocomplete({
|
||||||
serviceUrl: '$base/acl',
|
serviceUrl: '$base/acl',
|
||||||
|
minChars: 2,
|
||||||
width: 350,
|
width: 350,
|
||||||
});
|
});
|
||||||
a.setOptions({ params: { type: 'a' }});
|
a.setOptions({ params: { type: 'a' }});
|
||||||
|
|
Loading…
Reference in a new issue