mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Allow optional partial units of products in stock (closes #123)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
redirectDestination = returnTo + '?createdproduct=' + encodeURIComponent($('#name').val());
|
||||
}
|
||||
|
||||
var jsonData = $('#product-form').serializeJSON();
|
||||
var jsonData = $('#product-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
||||
Grocy.FrontendHelpers.BeginUiBusy("product-form");
|
||||
|
||||
if ($("#product-picture")[0].files.length > 0)
|
||||
|
Reference in New Issue
Block a user