Commit 90e69bc7 authored by Tino Goratsch's avatar Tino Goratsch

fixed the "dropdown" CSS selector name when generating a bootstrap enabled menu

parent 41d348ca
......@@ -232,7 +232,7 @@ class Navbar extends AbstractFunction
if ($menuConfig->isUseBootstrap() === true) {
$dropDownItemClassName = 'navigation-' . $menu . '-subnav-' . $item['id'] . '-dropdown';
$cssSelectors .= !empty($menuConfig->getDropdownItemSelector()) ? ' ' . $menuConfig->getDropdownItemSelector() : ' dropdown';
$cssSelectors .= $dropDownItemClassName;
$cssSelectors .= ' ' . $dropDownItemClassName;
$caret = $item['level'] == 0 ? ' <b class="caret"></b>' : '';
$attributes .= $item['level'] == 0 ? ' data-target=".' . $dropDownItemClassName . '"' : '';
$attributes .= ' class="dropdown-toggle" data-toggle="dropdown"';
......
......@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fixed the deleting of the category picture when deleting a category
- Fixed the deleting of the assigned menu item and SEO settings when deleting an article
- Fixed the `dropdown` CSS selector name when generating a bootstrap enabled menu
### Deprecations
- Deprecated `\ACP3\Core\Helper\Action::handleCreatePostAction()`, use `\ACP3\Core\Helper\Action::handleSaveAction()` instead
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment