Commit 2d33b5063d699e631b3a0cb7f1615c3a04ae9b01

Authored by Amrita Vishnoi
2 parents a875ae5e 9831dec9

Merge branch 'CAGridViewissueie' into QA

400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js
@@ -76,7 +76,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout @@ -76,7 +76,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
76 else { 76 else {
77 $scope.setActiveTab(1); 77 $scope.setActiveTab(1);
78 $scope.reRunSearchOnLoad(); 78 $scope.reRunSearchOnLoad();
79 - $('html, body').animate({ scrollTop: $rootScope.getLocalStorageValue('CAGridViewScroll') }, 'slow'); 79 +
80 } 80 }
81 81
82 82
@@ -179,6 +179,12 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout @@ -179,6 +179,12 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
179 179
180 }); 180 });
181 $('#' + $rootScope.getLocalStorageValue("currentBodyViewId")).find('.thumbnail').addClass('HightLightThumbnail'); 181 $('#' + $rootScope.getLocalStorageValue("currentBodyViewId")).find('.thumbnail').addClass('HightLightThumbnail');
  182 + $timeout(function ()
  183 + {
  184 + $('html, body').animate({ scrollTop: $rootScope.getLocalStorageValue('CAGridViewScroll') }, 'slow');
  185 + },
  186 + 300);
  187 +
182 }, 188 },
183 function (error) { 189 function (error) {
184 // handle errors here 190 // handle errors here