From d6201452c331e9c7b49b2d6c1c806d9843ddbd33 Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 2 Jun 2017 16:06:15 +0530 Subject: [PATCH] this is for the bug 18420 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js index cd6e5a5..e4fe56a 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js @@ -644,8 +644,15 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout var curCAListViewScroll = localStorage.getItem("CAListViewScroll"); if (typeof (curCAListViewScroll) !== "undefined" && curCAListViewScroll !== null && curCAListViewScroll !== '') { - - $('#ListViewDiv').scrollTop(localStorage.getItem("CAListViewScroll")); + if (typeof InstallTrigger !== 'undefined') { + + $('#ListViewDiv').animate({ scrollTop: localStorage.getItem("CAListViewScroll") }); + + } + else + { + $('#ListViewDiv').scrollTop(localStorage.getItem("CAListViewScroll")); + } } //else { // $('#ListViewDiv').scrollTop(0); -- libgit2 0.21.4