Project-Picker basierend auf Part-Picker
[kivitendo-erp.git] / js / glquicksearch.js
1 $(function() {
2   $( "#glquicksearch" ).autocomplete({
3     source: "controller.pl?action=GL/quicksearch",
4     minLength: 3,
5     select: function(event, ui) {
6            var url = ui.item.url;
7            if(url != '#') {
8                location.href = url;
9            }
10        },
11     html: false,
12     autoFocus: true
13   });
14 });