mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 20:06:16 +02:00
Fixed meal plan note adding
This commit is contained in:
parent
b5acb4c49b
commit
02d0121f4d
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user