Commit 8abdaa8b055c6370bbed3394fdf89abf8e16573e

Authored by Amrita Vishnoi
2 parents 7e2c2cb7 8e620fd5

Merge branch 'Bug#9777' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1988,6 +1988,26 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1988 1988 var CallBackBodyRegion = [];
1989 1989 var selectedAnnotation;
1990 1990  
  1991 + if (($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined) && ($rootScope.previousHighlightList.length > 0) && $rootScope.isListManagerSelected) {
  1992 +
  1993 + multiTermList = $scope.AllTerms;
  1994 + angular.forEach($rootScope.previousHighlightList, function (value, key) {
  1995 +
  1996 + var ActualTermNo = $scope.getActualTermNumber(value);
  1997 + selectedAnnotation = ActualTermNo;
  1998 + if (ActualTermNo != null) {
  1999 + var TermList = $scope.getTermNumberList(ActualTermNo);
  2000 + if (TermList != null) {
  2001 + for (var i = 0; i < TermList.length; i++) {
  2002 + multiTermList.push(TermList[i]);
  2003 + }
  2004 + }
  2005 + }
  2006 +
  2007 + // to do
  2008 + });
  2009 + }
  2010 +
1991 2011 if ($rootScope.isListManagerSelected) {
1992 2012  
1993 2013 multiTermList = $scope.AllTerms;
... ...