diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 40548ee..d7b26fc 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -5627,7 +5627,16 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
$scope.TransparencyBoxEndY = TransparencyBoxEndY;
if ($scope.TransparencyBoxStartX == $scope.TransparencyEndX && $scope.TransparencyBoxStartY == $scope.TransparencyBoxEndY) {
- // $('#transparencyScale').css('visibility', 'hidden');
+
+ $("#btnExtract_" + windowviewid).removeClass("disabled");
+ $("#btnExtract_" + windowviewid).css("pointer-events", "auto");
+
+
+ $('#btnTranparency_' + windowviewid).removeClass('tButtonActive');
+ $('#btnTranparency_' + windowviewid).removeClass(' btn-primary');
+ $('#btnTranparency_' + windowviewid).addClass('btn-black');
+
+
} else {
if (previewRectangleWidth == 0 && previewRectangleHeight == 0) {
@@ -5637,6 +5646,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
$scope.DisableUI();
+ $('#btnTranparency_' + windowviewid).removeClass('btn-black');
+ $('#btnTranparency_' + windowviewid).addClass('tButtonActive');
+
$scope.SetwindowStoreData(windowviewid,'layerNumberBeforeTBDraw',parseInt($('#txtLayerNumberDA_' + windowviewid).val()));
// $scope.layerNumberBeforeTBDraw = parseInt($('#txtLayerNumberDA_' + windowviewid).val());
@@ -5687,9 +5699,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
document.getElementById("canvasDivDA_" + windowviewid).removeEventListener("touchend", mouseUpListener);
- $('#btnTranparency_' + windowviewid).removeClass('btn-black');
-
- $('#btnTranparency_' + windowviewid).addClass('tButtonActive');
+
//Dated:18-07-2016 Issue#4975: Transparency box should not be clickable if it is already selected.
$('#btnTranparency_' + windowviewid).removeClass('tButtonActive');