fixed communication subject
This commit is contained in:
parent
64bb7bb289
commit
ebdfb6f2d4
1 changed files with 6 additions and 1 deletions
|
|
@ -55,9 +55,14 @@ wn.views.CommunicationList = Class.extend({
|
|||
},
|
||||
|
||||
add_reply: function() {
|
||||
var subject = this.doc.subject;
|
||||
if(!subject && this.list.length) {
|
||||
// get subject from previous message
|
||||
subject = this.list[0].subject;
|
||||
}
|
||||
new wn.views.CommunicationComposer({
|
||||
doc: this.doc,
|
||||
subject: this.doc.subject,
|
||||
subject: subject,
|
||||
recipients: this.recipients
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue