mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01: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…
Reference in New Issue
Block a user