mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Fixed the "Add as barcode to existing product" productpicker workflow from the /shoppinglistitem page (fixes #1262)
This commit is contained in:
@@ -220,7 +220,7 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
callback: function()
|
||||
{
|
||||
Grocy.Components.ProductPicker.PopupOpen = false;
|
||||
window.location.href = U(Grocy.CurrentUrlRelative + '?flow=InplaceAddBarcodeToExistingProduct&barcode=' + encodeURIComponent(input));
|
||||
window.location.href = U(Grocy.CurrentUrlRelative + '?flow=InplaceAddBarcodeToExistingProduct&barcode=' + encodeURIComponent(input) + "&" + embedded);
|
||||
}
|
||||
},
|
||||
addnewproductwithbarcode: {
|
||||
|
Reference in New Issue
Block a user