Commit 751cfbccdbc8912c81106cffd06f235c215306f6

Authored by Amrita Vishnoi
1 parent 74791ddc

Code fix.

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1877,7 +1877,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1877 1877 //for (var i = 1; i <= updatedData.length; i++) {
1878 1878 var grayCanvasID = canvasId;
1879 1879  
1880   - // var grayCanvasID = 'imageCanvas' + bodyRegionId;
  1880 + //to do
1881 1881 var grayCanvas = document.getElementById(grayCanvasID);
1882 1882 var grayCanvasContext = grayCanvas.getContext("2d");
1883 1883  
... ... @@ -1979,7 +1979,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1979 1979 if ($scope.matchedTermNoData != null || $scope.matchedTermNoData != undefined) {
1980 1980 //1.
1981 1981 var actualTermNo = 0;
1982   - for (var z = 0; z <= $scope.matchedTermNoData.length; z++) {
  1982 + for (var z = 0; z < $scope.matchedTermNoData.length; z++) {
1983 1983 //send actual term no to get the term text.
1984 1984 actualTermNo = $scope.matchedTermNoData[0]._ActualTermNumber;
1985 1985 annotationText = $scope.GetAnnotationBasedOnActualTermNo(actualTermNo);
... ... @@ -5744,7 +5744,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
5744 5744  
5745 5745 });
5746 5746  
5747   -
5748 5747 }
5749 5748  
5750 5749  
... ...