Commit 8e620fd5f5093505c4f58a3c6bcf30a89e5cca76
1 parent
4c585150
fixed
Showing
1 changed file
with
20 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -1967,6 +1967,26 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
1967 | 1967 | var CallBackBodyRegion = []; |
1968 | 1968 | var selectedAnnotation; |
1969 | 1969 | |
1970 | + if (($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined) && ($rootScope.previousHighlightList.length > 0) && $rootScope.isListManagerSelected) { | |
1971 | + | |
1972 | + multiTermList = $scope.AllTerms; | |
1973 | + angular.forEach($rootScope.previousHighlightList, function (value, key) { | |
1974 | + | |
1975 | + var ActualTermNo = $scope.getActualTermNumber(value); | |
1976 | + selectedAnnotation = ActualTermNo; | |
1977 | + if (ActualTermNo != null) { | |
1978 | + var TermList = $scope.getTermNumberList(ActualTermNo); | |
1979 | + if (TermList != null) { | |
1980 | + for (var i = 0; i < TermList.length; i++) { | |
1981 | + multiTermList.push(TermList[i]); | |
1982 | + } | |
1983 | + } | |
1984 | + } | |
1985 | + | |
1986 | + // to do | |
1987 | + }); | |
1988 | + } | |
1989 | + | |
1970 | 1990 | if ($rootScope.isListManagerSelected) { |
1971 | 1991 | |
1972 | 1992 | multiTermList = $scope.AllTerms; | ... | ... |