diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 23ed195..200f1f8 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -1892,14 +1892,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
);
}
- //else if ($scope.ColoredImageSRC.length == totalCanvas)
- //{
- // // dispatch event for enabling rest UI
- // alert('all canvas drawn');
- // $scope.EnableUI();
- //}
-
- //-NIKI-for solving extarct issue 8286
+
var imageCanvas = document.getElementById('imageCanvas' + bodyRegionId + '_MR');
@@ -1915,11 +1908,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
-
- //
-
- // console.log('$rootScope.isListManagerSelected= ' + $rootScope.isListManagerSelected + ' length= ' + $scope.ColoredImageSRC.length)
-
+
if (($scope.ColoredImageSRC != null || $scope.ColoredImageSRC != undefined)) {
if ((($rootScope.viewOrientationId == '1') || ($rootScope.viewOrientationId == '4')) && ($scope.ColoredImageSRC.length == 9)) {
@@ -1963,18 +1952,16 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
$scope.highLightBody();
}
else {
+
+ //This block is executed when normal body is created and no further process like highlight,extract, etc
$rootScope.isLoading = false;
$('#spinner').css('visibility', 'hidden');
- //debugger;
+
$scope.EnableUI();
+
}
}
- else {
- $rootScope.isLoading = false;
- $('#spinner').css('visibility', 'hidden');
- //debugger;
- $scope.EnableUI();
- }
+
}
console.log('DrawMirroredImage- ColoredImageSRC. pushed and length: ' + $scope.ColoredImageSRC.length);
@@ -2331,8 +2318,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
);
}
- //-NIKI-for solving extarct issue 8286
-
+
var imageCanvas = document.getElementById('imageCanvas' + bodyRegionId);
if (imageCanvas != null || imageCanvas != undefined) {
@@ -2346,9 +2332,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
$rootScope.coloredImageCanvasList[parseInt(bodyRegionId - 1)] = coloredImageDataVar;
}
- //
-
-
+
if (($scope.ColoredImageSRC != null || $scope.ColoredImageSRC != undefined)) {
if ((($rootScope.viewOrientationId == '1') || ($rootScope.viewOrientationId == '4')) && ($scope.ColoredImageSRC.length == 9)) {
@@ -2399,18 +2383,13 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
else {
+ //This block is executed when normal body is created and no further process like highlight,extract, etc
$rootScope.isLoading = false;
$('#spinner').css('visibility', 'hidden');
- //debugger;
$scope.EnableUI();
}
}
- else {
- $rootScope.isLoading = false;
- $('#spinner').css('visibility', 'hidden');
- //debugger;
- $scope.EnableUI();
- }
+
}
console.log('DrawImage- ColoredImageSRC. pushed and length: ' + $scope.ColoredImageSRC.length);