mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Restored staged changes of 27f9d70b56
This commit is contained in:
@@ -249,8 +249,8 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
Grocy.Components.ProductPicker.PopupOpen = false;
|
||||
window.location.href = U('/product/new?flow=InplaceNewProductWithBarcode&barcode=' + encodeURIComponent(input) + '&returnto=' + encodeURIComponent(Grocy.CurrentUrlRelative + "?flow=InplaceAddBarcodeToExistingProduct&barcode=" + input + "&" + embedded) + "&" + embedded);
|
||||
}
|
||||
}
|
||||
/*barcodepluginlookup: {
|
||||
},
|
||||
barcodepluginlookup: {
|
||||
label: '<strong>E</strong> ' + __t('External barcode lookup (via plugin)'),
|
||||
className: 'btn-dark add-new-product-plugin-dialog-button responsive-button ' + addProductWorkflowsAdditionalCssClasses,
|
||||
callback: function()
|
||||
@@ -275,7 +275,7 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
}
|
||||
);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
};
|
||||
|
||||
if (!Grocy.FeatureFlags.GROCY_FEATURE_FLAG_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING)
|
||||
|
Reference in New Issue
Block a user