fixes in communication js, if no subject
This commit is contained in:
parent
67469bc6fc
commit
8ca73026ff
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ wn.views.CommunicationList = Class.extend({
|
|||
var subject = this.doc.subject;
|
||||
if(!subject && this.list.length) {
|
||||
// get subject from previous message
|
||||
subject = this.list[0].subject;
|
||||
subject = this.list[0].subject || "[No Subject]";
|
||||
if(strip(subject.toLowerCase().split(":")[0])!="re") {
|
||||
subject = "Re: " + subject;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue