Merge pull request #24175 from shariquerik/copy-content-on-reply
fix: copy content on reply
This commit is contained in:
commit
5ad2d2eadc
1 changed files with 3 additions and 0 deletions
|
|
@ -267,6 +267,7 @@ frappe.ui.form.on("Communication", {
|
|||
$.extend(args, {
|
||||
subject: __("Re: {0}", [frm.doc.subject]),
|
||||
recipients: frm.doc.sender,
|
||||
is_a_reply: true,
|
||||
});
|
||||
|
||||
new frappe.views.CommunicationComposer(args);
|
||||
|
|
@ -278,6 +279,7 @@ frappe.ui.form.on("Communication", {
|
|||
subject: __("Res: {0}", [frm.doc.subject]),
|
||||
recipients: frm.doc.sender,
|
||||
cc: frm.doc.cc,
|
||||
is_a_reply: true,
|
||||
});
|
||||
new frappe.views.CommunicationComposer(args);
|
||||
},
|
||||
|
|
@ -287,6 +289,7 @@ frappe.ui.form.on("Communication", {
|
|||
$.extend(args, {
|
||||
forward: true,
|
||||
subject: __("Fw: {0}", [frm.doc.subject]),
|
||||
is_a_reply: true,
|
||||
});
|
||||
|
||||
new frappe.views.CommunicationComposer(args);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue