diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 17b6715..7617a02 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -2573,7 +2573,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
if ($scope.isTransparencyActivated) {
- debugger;
+
//crete temp canavs to store the original data which will be used to chnange the transparency
if (document.getElementById('tempCanvas') != null) {
$('#tempCanvas').remove();
@@ -2598,7 +2598,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
var tCanvas = document.getElementById('transparencyCanvas');
- if (tCanvas != null) {
+
var tCanvasContext = tCanvas.getContext('2d');
var tCanvasHeight = parseInt((tCanvas.style.height).replace('px', ''));
@@ -2639,26 +2639,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
})
- }else
- {
- //#8777 :DA > Layer change is not apply on the view.
- var tranparencyLayer;
-
- var currentLayer = parseInt($('#txtlayerNumber').val());
- if (currentLayer == $rootScope.totalLayers) {
- tranparencyLayer = currentLayer;
- }
- else if (currentLayer==0)
- {
- tranparencyLayer = 0;
- }
- else {
- tranparencyLayer = currentLayer + 1;
- }
- $scope.layerNumber = tranparencyLayer;
- $('#txtlayerNumber').val($scope.layerNumber);
- $scope.CalculateImageCordinates($rootScope.viewOrientationId);
- }
+
}
else {