From 64fc4f617d9cbe2a0333c2574d50b88994eac2fc Mon Sep 17 00:00:00 2001 From: perploug Date: Tue, 10 Sep 2013 15:08:15 +0200 Subject: [PATCH] Hide nav on tree item click --- .../src/views/common/navigation.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/views/common/navigation.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/navigation.controller.js index 4ab8df9059..bc88a561bb 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/navigation.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/navigation.controller.js @@ -91,6 +91,8 @@ function NavigationController($scope,$rootScope, $location, $log, $routeParams, //not legacy, lets just set the route value and clear the query string if there is one. $location.path(n.routePath).search(""); } + + navigationService.hideNavigation(); }); /** Opens a dialog but passes in this scope instance to be used for the dialog */