Fixed strange (and still kind of unknown) problem in productpicker (fixes #56)

This commit is contained in:
Bernd Bestel 2018-09-24 09:51:55 +02:00
parent 8e054a4981
commit e472711d23
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -81,7 +81,7 @@ if (addBarcode !== undefined)
$('#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 possibleOptionElement = $("#product_id option[data-additional-searchdata*='" + input + "']").first();