Commit d6201452c331e9c7b49b2d6c1c806d9843ddbd33
1 parent
1d2fae10
this is for the bug 18420
Showing
1 changed file
with
9 additions
and
2 deletions
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); | ... | ... |