mirror of
https://github.com/grocy/grocy.git
synced 2025-08-08 15:21:25 +00:00
Fixed strange (and still kind of unknown) problem in productpicker (fixes #56)
This commit is contained in:
parent
8e054a4981
commit
e472711d23
@ -81,7 +81,7 @@ if (addBarcode !== undefined)
|
|||||||
$('#barcode-lookup-disabled-hint').removeClass('d-none');
|
$('#barcode-lookup-disabled-hint').removeClass('d-none');
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#product_id_text_input').on('change', function(e)
|
$('#product_id').on('change', function(e)
|
||||||
{
|
{
|
||||||
var input = $('#product_id_text_input').val().toString();
|
var input = $('#product_id_text_input').val().toString();
|
||||||
var possibleOptionElement = $("#product_id option[data-additional-searchdata*='" + input + "']").first();
|
var possibleOptionElement = $("#product_id option[data-additional-searchdata*='" + input + "']").first();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user