mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Applied formatting rules for by #995 changed files
This commit is contained in:
parent
61cfddb1e7
commit
22434c85f0
@ -342,8 +342,10 @@ $("#allow_partial_units_in_stock").on("click", function()
|
||||
Grocy.FrontendHelpers.ValidateForm("product-form");
|
||||
});
|
||||
|
||||
$('#product-picture').change(function () {
|
||||
if ($(this).val()) {
|
||||
$('#product-picture').change(function()
|
||||
{
|
||||
if ($(this).val())
|
||||
{
|
||||
Grocy.DeleteProductPictureOnSave = false;
|
||||
}
|
||||
});
|
||||
@ -411,7 +413,8 @@ Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||
$("#allow_partial_units_in_stock").click();
|
||||
$("#allow_partial_units_in_stock").click();
|
||||
|
||||
$(document).on('click', '#save-product-button-continue', function () {
|
||||
$(document).on('click', '#save-product-button-continue', function()
|
||||
{
|
||||
Grocy.ProductEditFormRedirectUri = "reload";
|
||||
$('#save-product-button').click();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user