Skip to content

Commit a8ff59a

Browse files
author
Roman Lytvynenko
committed
MC-33700: TransportBuilder unable to send emails of Content-Type "text/plain"
1 parent 465bfa1 commit a8ff59a

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Email/view/adminhtml/templates/template

1 file changed

+3
-1
lines changed

app/code/Magento/Email/view/adminhtml/templates/template/edit.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ require([
114114
},
115115

116116
stripTags: function () {
117+
var self = this;
118+
117119
confirm({
118120
content: "<?= $block->escapeJs($block->escapeHtml(__('Are you sure you want to strip tags?'))) ?>",
119121
actions: {
@@ -125,7 +127,7 @@ require([
125127
).stripTags().strip();
126128
$('convert_button_back').show();
127129
$('field_template_styles').hide();
128-
this.typeChange = true;
130+
self.typeChange = true;
129131
return false;
130132
}
131133
}

0 commit comments

Comments
 (0)