mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user