make autocomplete better themable by adding an id

This commit is contained in:
marijus
2013-11-14 18:03:16 +01:00
parent ee629534d5
commit 3311fe4813
8 changed files with 36 additions and 11 deletions

View File

@@ -3,7 +3,8 @@ $(document).ready(function() {
a = $("#contacts-search").autocomplete({
serviceUrl: baseurl + '/acl',
minChars: 2,
width: 350,
width: 250,
id: 'contact-search-ac',
});
a.setOptions({ autoSubmit: true, params: { type: 'a' }});