Commit e330e1be26109fbabdc7ea34fda677ab41f07a0c
1 parent
b1e32a18
statecilist manual merge
Showing
1 changed file
with
10 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... | ... | @@ -693,9 +693,18 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
693 | 693 | |
694 | 694 | var curCIListViewScroll = localStorage.getItem("CIListViewScroll"); |
695 | 695 | if (typeof (curCIListViewScroll) !== "undefined" && curCIListViewScroll !== null && curCIListViewScroll !== '') { |
696 | - | |
696 | + if (typeof InstallTrigger !== 'undefined') | |
697 | + { | |
698 | + | |
699 | + $('#ListViewDiv').animate({ scrollTop: localStorage.getItem("CIListViewScroll") }); | |
700 | + } | |
701 | + else | |
702 | + { | |
703 | + | |
697 | 704 | $('#ListViewDiv').scrollTop(localStorage.getItem("CIListViewScroll")); |
698 | 705 | } |
706 | + | |
707 | + } | |
699 | 708 | //else { |
700 | 709 | // $('#ListViewDiv').scrollTop(0); |
701 | 710 | //} | ... | ... |