diff --git a/400-SOURCECODE/AIAHTML5.API/Web.config b/400-SOURCECODE/AIAHTML5.API/Web.config index de2c709..a4c4a81 100644 --- a/400-SOURCECODE/AIAHTML5.API/Web.config +++ b/400-SOURCECODE/AIAHTML5.API/Web.config @@ -39,7 +39,7 @@ - + diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js index cd6e5a5..a862d05 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js @@ -71,6 +71,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout else { $scope.setActiveTab(1); $scope.reRunSearchOnLoad(); + $('html, body').animate({ scrollTop: localStorage.getItem('CAGridViewScroll') }); } @@ -449,7 +450,8 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout localStorage.setItem("currentViewTitleFromJson", $rootScope.ViewTitle); localStorage.setItem("currentBodyViewId", $event.currentTarget.id); - + var CAGridViewScrollPosition = $($window).scrollTop(); + localStorage.setItem('CAGridViewScroll', CAGridViewScrollPosition); var u = $location.url(); $location.url('/clinical-animations-detail'); @@ -538,7 +540,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout theme: 'success', currentController: 'CAController', parentSlug: 'clinical-animations', - content: '