Simplify event arguments

// FREEBIE
This commit is contained in:
lilia 2015-09-21 10:21:33 -07:00
parent c8a76ab38e
commit 4a482243d0
5 changed files with 8 additions and 9 deletions

View file

@ -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();
},