Commit 6c1b8cdf31a0805f84db7c22334872a20c7044a7

Authored by Mukul Rajput
1 parent 6893502b

this is mcustomscroll, change function name

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -463,7 +463,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
463 463  
464 464 //jspanel functionality..
465 465  
466   - $rootScope.getScrollModule = function () {
  466 + $rootScope.getModuleScrollPosition = function () {
467 467 $('.mCSB_container ul li').click(function () {
468 468  
469 469 $rootScope.scrollTopPosition = $(this).position().top;
... ...
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
... ... @@ -26,7 +26,7 @@
26 26 <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide ">
27 27 <!--{{name}}-->
28 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 30 </ul>
31 31 </div>
32 32  
... ...