Browse Source

[fix] When composing email via timeline, if no last email, set subject as [DocType]: [Name]

version-14
Anand Doshi 10 years ago
parent
commit
69ca8a73d5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      frappe/public/js/frappe/views/communication.js

+ 4
- 0
frappe/public/js/frappe/views/communication.js View File

@@ -118,6 +118,10 @@ frappe.views.CommunicationComposer = Class.extend({
this.subject = "Re: " + this.subject;
}
}

if (!this.subject) {
this.subject = __(this.frm.doctype) + ': ' + this.frm.docname;
}
}
},



Loading…
Cancel
Save