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 b41d7222a4
commit 27380821bb

View File

@ -4059,7 +4059,7 @@ app.classes.mail = AppJS.extend(
action = _egw_action.id; 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) if (content)
{ {