[FIX] website_mail_group: duplicate preventDefault() call (called before onclick...
authorOlivier Dony <odo@openerp.com>
Fri, 30 May 2014 23:48:55 +0000 (01:48 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 30 May 2014 23:48:55 +0000 (01:48 +0200)
Plus it fails because `event` is not defined nor passed there (e.g. in Firefox)

addons/website_mail_group/static/src/js/website_mail_group.snippet.js

index fc0e2bb..fd6a2d3 100644 (file)
@@ -33,7 +33,6 @@
             return;
         },
         on_click: function () {
-            event.preventDefault();
             var self = this;
             var $email = this.$target.find(".js_follow_email");