Commit 9831dec9e7dbad7e3b5c2512838ff3dc553c94c2
1 parent
f222589c
this is solution for the bug CA issue with ie
Showing
1 changed file
with
7 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js
... | ... | @@ -76,7 +76,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
76 | 76 | else { |
77 | 77 | $scope.setActiveTab(1); |
78 | 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 | 179 | |
180 | 180 | }); |
181 | 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 | 189 | function (error) { |
184 | 190 | // handle errors here | ... | ... |