mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
adding styling to autocomplete
This commit is contained in:
@ -195,6 +195,7 @@ $(document).ready(function () {
|
||||
$("#search-bar" ).autocomplete({
|
||||
source: "{% url 'search-api' %}",
|
||||
minLength: 2,
|
||||
classes: {'ui-autocomplete': 'dropdown-menu'},
|
||||
select: function( event, ui ) {
|
||||
window.location = '/part/' + ui.item.id + '/';
|
||||
}
|
||||
|
Reference in New Issue
Block a user