From ddac26cdbb3535239f5dbb41f5b464366065f3ba Mon Sep 17 00:00:00 2001 From: Julien De Coster Date: Tue, 12 Aug 2014 14:54:26 +0530 Subject: [ADD] Add the website_links module. This module tracks clicks in mass mailing mails and allow the generation of trackable links in a website interface. Modules modifications --------------------- Refractoring of the crm_tracking_* classes in a new module. * Extract the crm_tracking_* from the crm module into a new module "utm" * Remove the crm_mass_mailing bridge module * New dependencies of mass_mailing and website_links to utm. --- addons/website/static/src/js/website.contentMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/website/static/src/js/website.contentMenu.js') diff --git a/addons/website/static/src/js/website.contentMenu.js b/addons/website/static/src/js/website.contentMenu.js index aed70698c6c..bdb6d63c8db 100644 --- a/addons/website/static/src/js/website.contentMenu.js +++ b/addons/website/static/src/js/website.contentMenu.js @@ -9,7 +9,7 @@ website.EditorBarContent = openerp.Widget.extend({ start: function() { var self = this; - self.$el.on('click', 'a', function(ev) { + self.$el.on('click', 'a[data-action]', function(ev) { ev.preventDefault(); var $content_item = $(this); self[$content_item.data('action')](); -- cgit v1.2.3