From 651861c4623d80ed8c7cbe62a87254fc4f794658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 20 Feb 2020 18:30:39 +0100 Subject: [PATCH] Fix hidden active elements in admin menu In the admin menu, some links take you to a section, and some links open a submenu with more links. When we disable the "multi-open" property of the menu and the active element is a link which takes you to a section, Foundation will hide it whenever we click a link which opens a submenu. The easiest solution is to enable "multi-open" property. --- app/views/admin/_menu.html.erb | 2 +- spec/features/admin_spec.rb | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 525dbf770..dfcc53e26 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -1,5 +1,5 @@
-