Sets the appState current node when executing a menu action (#6874)
This commit is contained in:
committed by
emma burstow
parent
e113b56ce1
commit
eebc06c1a3
@@ -465,6 +465,8 @@ function navigationService($routeParams, $location, $q, $injector, eventsService
|
||||
throw "section cannot be null";
|
||||
}
|
||||
|
||||
appState.setMenuState("currentNode", node);
|
||||
|
||||
if (action.metaData && action.metaData["actionRoute"] && angular.isString(action.metaData["actionRoute"])) {
|
||||
//first check if the menu item simply navigates to a route
|
||||
var parts = action.metaData["actionRoute"].split("?");
|
||||
|
||||
Reference in New Issue
Block a user