Commit 02ef5471fe10195d6329dca01ad1d214b19b2017

Authored by Amrita Vishnoi
2 parents 6e0e413f d6201452

Merge branch 'newstatemaintaincalistview' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js
... ... @@ -644,8 +644,15 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
644 644  
645 645 var curCAListViewScroll = localStorage.getItem("CAListViewScroll");
646 646 if (typeof (curCAListViewScroll) !== "undefined" && curCAListViewScroll !== null && curCAListViewScroll !== '') {
647   -
648   - $('#ListViewDiv').scrollTop(localStorage.getItem("CAListViewScroll"));
  647 + if (typeof InstallTrigger !== 'undefined') {
  648 +
  649 + $('#ListViewDiv').animate({ scrollTop: localStorage.getItem("CAListViewScroll") });
  650 +
  651 + }
  652 + else
  653 + {
  654 + $('#ListViewDiv').scrollTop(localStorage.getItem("CAListViewScroll"));
  655 + }
649 656 }
650 657 //else {
651 658 // $('#ListViewDiv').scrollTop(0);
... ...