From 8097e01de0600308b8a56593566beb0767f8caed Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 2 Feb 2018 16:05:19 +0530 Subject: [PATCH] this is the solution for the bug 26606 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 4f32134..83913fe 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -55,6 +55,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou }; $scope.loadForModuleById = function (moduleId) { + $rootScope.isLoading = true; + $('#spinner').css('visibility', 'visible'); $rootScope.openModules.push({ "ModuleId": 2 }); if ($rootScope.refreshcheck == null) { $location.path('/'); @@ -80,7 +82,10 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou } if ($rootScope.getLocalStorageValue('AAGridViewScroll') !== null && $location.url() == "/tile-view-list") { $('html, body').animate({ scrollTop: $rootScope.getLocalStorageValue('AAGridViewScroll') }, 'slow'); + } + $rootScope.isLoading = false; + $('#spinner').css('visibility', 'hidden'); }, 100); //console.log(JSON.stringify(result, null, 4)); }, -- libgit2 0.21.4