Skip to content

Commit

Permalink
Merge branch 'pu/ccheng/fix_62af0718' into '2024.11'
Browse files Browse the repository at this point in the history
fix(Felamimail/js): force switch attachment partId type to string

See merge request tine20/tine20!6529
  • Loading branch information
ccheng-dev committed Feb 5, 2025
2 parents b25e5ba + 0f93305 commit 8ecc9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Felamimail/js/MessageEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Tine.Felamimail.MessageEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {

if (forwardMode === 'message' || this.draftOrTemplate) {
Ext.each(message.get('attachments'), function (attachment) {
if (attachment['partId'].toString().match(/winmail/)) {
if (String(attachment['partId']).match(/winmail/)) {
// we found a winmail extration attachment -> forward the original winmail.dat
forwardMode = 'onlyAsAttachment';
attachments = [];
Expand Down

0 comments on commit 8ecc9e3

Please sign in to comment.