Commit 6c1b8cdf31a0805f84db7c22334872a20c7044a7
1 parent
6893502b
this is mcustomscroll, change function name
Showing
2 changed files
with
2 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -463,7 +463,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -463,7 +463,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
463 | 463 | ||
464 | //jspanel functionality.. | 464 | //jspanel functionality.. |
465 | 465 | ||
466 | - $rootScope.getScrollModule = function () { | 466 | + $rootScope.getModuleScrollPosition = function () { |
467 | $('.mCSB_container ul li').click(function () { | 467 | $('.mCSB_container ul li').click(function () { |
468 | 468 | ||
469 | $rootScope.scrollTopPosition = $(this).position().top; | 469 | $rootScope.scrollTopPosition = $(this).position().top; |
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> | 26 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> |
27 | <!--{{name}}--> | 27 | <!--{{name}}--> |
28 | <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> | 28 | <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> |
29 | - <li ng-repeat="module in userModules"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getScrollModule()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')"><!--{{module.name}}--></a></li> | 29 | + <li ng-repeat="module in userModules"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getModuleScrollPosition()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')"><!--{{module.name}}--></a></li> |
30 | </ul> | 30 | </ul> |
31 | </div> | 31 | </div> |
32 | 32 |