fix manual save-as-draft did not contain attachments

as getValues() contained empty attachments object overwriting the content
This commit is contained in:
ralf 2024-03-06 14:05:52 +02:00
parent 9412a3df55
commit 48fc65b4ef

View File

@ -4080,7 +4080,7 @@ app.classes.mail = AppJS.extend(
action = _egw_action.id;
}
Object.assign(content, self.et2.getInstanceManager().getValues(self.et2, true));
Object.assign(content, {...self.et2.getInstanceManager().getValues(self.et2, true), attachments: content.attachments});
if (content)
{