Commit d6201452c331e9c7b49b2d6c1c806d9843ddbd33

Authored by Mukul Rajput
1 parent 1d2fae10

this is for the bug 18420

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);
... ...