Simplify event arguments
// FREEBIE
This commit is contained in:
parent
c8a76ab38e
commit
4a482243d0
5 changed files with 8 additions and 9 deletions
|
@ -136,14 +136,14 @@
|
|||
}).render();
|
||||
},
|
||||
|
||||
addNewRecipient: function(e, data) {
|
||||
addNewRecipient: function() {
|
||||
this.recipients.add(this.new_contact_view.model);
|
||||
this.initNewContact();
|
||||
this.resetTypeahead();
|
||||
},
|
||||
|
||||
addRecipient: function(e, data) {
|
||||
this.recipients.add(this.typeahead.remove(data.conversation.id));
|
||||
addRecipient: function(e, conversation) {
|
||||
this.recipients.add(this.typeahead.remove(conversation.id));
|
||||
this.resetTypeahead();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue