From 8e620fd5f5093505c4f58a3c6bcf30a89e5cca76 Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 11 Nov 2016 12:49:02 +0530 Subject: [PATCH] fixed --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 0824796..40924c8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1967,6 +1967,26 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo var CallBackBodyRegion = []; var selectedAnnotation; + if (($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined) && ($rootScope.previousHighlightList.length > 0) && $rootScope.isListManagerSelected) { + + multiTermList = $scope.AllTerms; + angular.forEach($rootScope.previousHighlightList, function (value, key) { + + var ActualTermNo = $scope.getActualTermNumber(value); + selectedAnnotation = ActualTermNo; + if (ActualTermNo != null) { + var TermList = $scope.getTermNumberList(ActualTermNo); + if (TermList != null) { + for (var i = 0; i < TermList.length; i++) { + multiTermList.push(TermList[i]); + } + } + } + + // to do + }); + } + if ($rootScope.isListManagerSelected) { multiTermList = $scope.AllTerms; -- libgit2 0.21.4