Skip to content
Snippets Groups Projects
Commit 1ad24af2 authored by Daniel Goerz's avatar Daniel Goerz Committed by Christian Kuhn
Browse files

[BUGFIX] Ensure module menu can be expanded again

Change-Id: I0521b84c87ccbdf31122c7afd5ab2541c9e7b182
Resolves: #80642
Releases: master
Reviewed-on: https://review.typo3.org/52322


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
Tested-by: default avatarThomas Hohn <thomas@hohn.dk>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Tested-by: default avatarRiccardo De Contardi <erredeco@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent dc824fec
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ require(
// check if module menu should be collapsed or not
var state = Storage.Persistent.get('BackendComponents.States.typo3-module-menu');
if (state && state.collapsed) {
TYPO3.ModuleMenu.App.toggleMenu(state.collapsed);
TYPO3.ModuleMenu.App.toggleMenu(state.collapsed === 'true');
}
// check if there are collapsed items in the users' configuration
......@@ -122,7 +122,7 @@ require(
},
/**
* @param {bool} collapse
* @param {Boolean} collapse
*/
toggleMenu: function (collapse) {
TYPO3.Backend.NavigationContainer.cleanup();
......
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