From a259370fed5bd3545b6544a7479b2da203dad930 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 11 Sep 2014 13:57:28 +0200 Subject: [PATCH] [FIX] website: do not bind do_customize to menu without data-action --- addons/website/static/src/js/website.editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index 43411f404a9..d7487a80e9d 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -564,7 +564,7 @@ website.EditorBarCustomize = openerp.Widget.extend({ events: { 'mousedown a.dropdown-toggle': 'load_menu', - 'click ul a[data-action!=ace]': 'do_customize', + 'click ul a[data-action][data-action!=ace]': 'do_customize', }, start: function() { var self = this;