Commit 8097e01de0600308b8a56593566beb0767f8caed

Authored by Mukul Rajput
1 parent ff2e54b0

this is the solution for the bug 26606

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -55,6 +55,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
55 55 };
56 56  
57 57 $scope.loadForModuleById = function (moduleId) {
  58 + $rootScope.isLoading = true;
  59 + $('#spinner').css('visibility', 'visible');
58 60 $rootScope.openModules.push({ "ModuleId": 2 });
59 61 if ($rootScope.refreshcheck == null) {
60 62 $location.path('/');
... ... @@ -80,7 +82,10 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
80 82 }
81 83 if ($rootScope.getLocalStorageValue('AAGridViewScroll') !== null && $location.url() == "/tile-view-list") {
82 84 $('html, body').animate({ scrollTop: $rootScope.getLocalStorageValue('AAGridViewScroll') }, 'slow');
  85 +
83 86 }
  87 + $rootScope.isLoading = false;
  88 + $('#spinner').css('visibility', 'hidden');
84 89 }, 100);
85 90 //console.log(JSON.stringify(result, null, 4));
86 91 },
... ...