From 7dc796f8d60a7ed529b91f48627e351990cee78d Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Wed, 8 Dec 2021 15:46:50 +0000 Subject: [PATCH] [FIX] website_forum: make link buttons work again Since #45352, the dropdown actions "Edit" / "Close" / "Delete" were no longer working; clicking on them was not submitting the form like it was supposed to. closes odoo/odoo#81156 Taskid: 2499623 X-original-commit: 2e7cb0e19a81598f3e52660753b925b3f2216a6d Signed-off-by: Kevin Baptiste --- addons/website_forum/static/src/scss/website_forum.scss | 6 ++++++ addons/website_forum/views/website_forum.xml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/website_forum/static/src/scss/website_forum.scss b/addons/website_forum/static/src/scss/website_forum.scss index 12ad1ac3a2a..94495792a89 100644 --- a/addons/website_forum/static/src/scss/website_forum.scss +++ b/addons/website_forum/static/src/scss/website_forum.scss @@ -161,6 +161,12 @@ $bronze: #eea91e; cursor: pointer; text-decoration: none !important; } + + .dropdown-menu { + button:focus { + outline: 0; + } + } } .website_forum, .o_wforum_profile_tab { diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 93692cb3cf4..5c4e548f6c3 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -19,10 +19,10 @@