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 = $("#id_name").autocomplete({
serviceUrl: baseurl + '/acl',
minChars: 2,
width: 350,
width: 250,
id: 'id-name-ac',
onSelect: function(value,data) {
$("#id_xchan").val(data);
}