Fixed that a entered barcode on the product edit page was only saved when "adding" it to the barcodes list by pressing TAB (closes #269)

This commit is contained in:
Bernd Bestel
2019-06-09 09:21:56 +02:00
parent 6b98fa85d3
commit 7c7c5db28c
2 changed files with 6 additions and 0 deletions

View File

@@ -149,6 +149,11 @@ if (prefillBarcode !== undefined)
$('#name').focus();
}
$("#barcode-taginput").on("blur", function(e)
{
$("#barcode-taginput").tagsManager("pushTag", $("#barcode-taginput").val());
});
$('.input-group-qu').on('change', function(e)
{
var quIdPurchase = $("#qu_id_purchase").val();