From e472711d236c2a6d1919fd77cf0d5869473e37b9 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 24 Sep 2018 09:51:55 +0200 Subject: [PATCH] Fixed strange (and still kind of unknown) problem in productpicker (fixes #56) --- public/viewjs/components/productpicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/viewjs/components/productpicker.js b/public/viewjs/components/productpicker.js index 9aae3476..f71e9c2d 100644 --- a/public/viewjs/components/productpicker.js +++ b/public/viewjs/components/productpicker.js @@ -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();