mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Next attempt to fix #56
This commit is contained in:
parent
8d41dcc650
commit
8008fcdc65
@ -84,6 +84,11 @@ if (addBarcode !== undefined)
|
||||
|
||||
$('#product_id_text_input').on('blur', function(e)
|
||||
{
|
||||
if (Grocy.Components.ProductPicker.GetPicker().hasClass("combobox-menu-visible"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var input = $('#product_id_text_input').val().toString();
|
||||
var possibleOptionElement = $("#product_id option[data-additional-searchdata*='" + input + "']").first();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user