diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 898011e..c132234 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -463,7 +463,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic //jspanel functionality.. - + $rootScope.getSelectedModuleId = function (selectedModuleId) { + setTimeout(function () { + $(".sidebar").mCustomScrollbar("scrollTo", $("#" + selectedModuleId)); + }, 300); + } $rootScope.openParent = function (slug) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html index b7e9667..2896720 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html @@ -26,7 +26,7 @@