From 48fc65b4efc71270917044b3b020959e5c0bfe28 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 6 Mar 2024 14:05:52 +0200 Subject: [PATCH] fix manual save-as-draft did not contain attachments as getValues() contained empty attachments object overwriting the content --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 40d5bbf64e..1e5474355e 100755 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -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) {