diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 867ec8c..e2785f7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -414,9 +414,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.$on("$locationChangeSuccess", function () { - $rootScope.isLeftMenuActive = function (moduleUrl) { - - return moduleUrl === $location.path(); + $rootScope.HightLightModuleSelection = function (moduleUrl) { + var currentRoute = $location.path().substring(1); + return moduleUrl === currentRoute ? 'active' : ''; } if (($location.url() == "/da-body-view")) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html index 9753a0f..ae2be0c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html @@ -26,7 +26,7 @@