diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index c1359d2..6b95d53 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2018,7 +2018,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } document.getElementById('canvasDiv').removeEventListener("mousedown", mouseDownListener); - + //Dated:19-07-2016 Issue#4975: Transparency box should not be clickable if it is already selected. + $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.currentLayerNumber)); + $("#txtlayerNumber").val(parseInt($scope.currentLayerNumber)); } function mouseMoveListener(e) { @@ -3047,7 +3049,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // document.getElementById('txtLayerNumber').value = 0; // debugger; - + $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.currentLayerNumber)); $("#txtlayerNumber").val(parseInt($scope.currentLayerNumber));