#3141 fixed the problem differently after input from @markadrake

This commit is contained in:
Dave Woestenborghs
2018-10-09 08:51:02 +02:00
parent 9d36ee6bd8
commit 94922ccbd2

View File

@@ -73,6 +73,7 @@ function navigationService($rootScope, $routeParams, $log, $location, $q, $timeo
appState.setSectionState("showSearchResults", false);
appState.setGlobalState("stickyNavigation", false);
appState.setGlobalState("showTray", false);
appState.setMenuState("currentNode", null);
if (appState.getGlobalState("isTablet") === true) {
appState.setGlobalState("showNavigation", false);
@@ -660,10 +661,10 @@ function navigationService($rootScope, $routeParams, $log, $location, $q, $timeo
*/
hideDialog: function (showMenu) {
setMode("default");
if(showMenu){
if (showMenu) {
this.showMenu(undefined, { skipDefault: true, node: appState.getMenuState("currentNode") });
} else {
setMode("default");
}
},
/**