From caa9d036139af2964ee48edf8673e08e9ba93702 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Wed, 28 Oct 2015 18:08:24 -0200 Subject: Issue #493 - Fixed bug delete recipient event Fixed bug that was shown error on console when trigger the delete recipient event --- web-ui/app/js/mail_view/ui/recipients/recipient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-ui/app/js/mail_view/ui/recipients/recipient.js b/web-ui/app/js/mail_view/ui/recipients/recipient.js index 66577f51..4e07732d 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipient.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipient.js @@ -40,7 +40,7 @@ define( this.recipientDelActions = function () { this.on(this.$node.find('.recipient-del'), 'click', function (event) { this.doSelect(); - this.trigger(events.ui.recipients.deleteRecipient, {recipientsName : this.attr.address}); + this.trigger(events.ui.recipients.deleteRecipient, this); event.preventDefault(); }); -- cgit v1.2.3