diff --git a/frappe/public/js/frappe/form/footer/timeline.js b/frappe/public/js/frappe/form/footer/timeline.js index 2652f36079..a950aed6a8 100644 --- a/frappe/public/js/frappe/form/footer/timeline.js +++ b/frappe/public/js/frappe/form/footer/timeline.js @@ -233,7 +233,7 @@ frappe.ui.form.Timeline = Class.extend({ new frappe.views.CommunicationComposer({ doc: me.frm.doc, txt: "", - subject: __('Reply'), + title: __('Reply'), frm: me.frm, last_email: last_email }); diff --git a/frappe/public/js/frappe/views/communication.js b/frappe/public/js/frappe/views/communication.js index aa3cc726a0..1bc4c1087a 100755 --- a/frappe/public/js/frappe/views/communication.js +++ b/frappe/public/js/frappe/views/communication.js @@ -12,7 +12,7 @@ frappe.views.CommunicationComposer = Class.extend({ make: function() { var me = this; this.dialog = new frappe.ui.Dialog({ - title: (this.subject || __("New Email")), + title: (this.title || this.subject || __("New Email")), no_submit_on_enter: true, fields: this.get_fields(), primary_action_label: __("Send"), @@ -49,12 +49,12 @@ frappe.views.CommunicationComposer = Class.extend({ var fields= [ {label:__("To"), fieldtype:"Data", reqd: 0, fieldname:"recipients",length:524288}, {fieldtype: "Section Break", collapsible: 1, label: "CC & Standard Reply"}, - {label:__("CC"), fieldtype:"Data", fieldname:"cc",length:524288}, + {label:__("CC"), fieldtype:"Data", fieldname:"cc", length:524288}, {label:__("Standard Reply"), fieldtype:"Link", options:"Standard Reply", fieldname:"standard_reply"}, {fieldtype: "Section Break"}, {label:__("Subject"), fieldtype:"Data", reqd: 1, - fieldname:"subject",length:524288}, + fieldname:"subject", length:524288}, {fieldtype: "Section Break"}, {label:__("Message"), fieldtype:"Text Editor", reqd: 1, fieldname:"content"},