mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
Fixed meal plan note adding
This commit is contained in:
@@ -530,8 +530,8 @@ $('#save-add-note-button').on('click', function(e)
|
|||||||
|
|
||||||
var jsonData = $('#add-note-form').serializeJSON();
|
var jsonData = $('#add-note-form').serializeJSON();
|
||||||
jsonData.day = $("#day").val();
|
jsonData.day = $("#day").val();
|
||||||
jsonData.section_id = formData.section_id_note;
|
jsonData.section_id = jsonData.section_id_note;
|
||||||
delete formData.section_id_note;
|
delete jsonData.section_id_note;
|
||||||
|
|
||||||
if (Grocy.IsMealPlanEntryEditAction)
|
if (Grocy.IsMealPlanEntryEditAction)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user