Commit 9c08e335f95d753ad8bb54fb84218416d9fbc485
1 parent
0fabc0a2
Commit changes for Issue Ref:
Issue#4975: Transparency box should not be clickable if it is already selected.
Showing
1 changed file
with
4 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -2018,7 +2018,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
2018 | 2018 | } |
2019 | 2019 | |
2020 | 2020 | document.getElementById('canvasDiv').removeEventListener("mousedown", mouseDownListener); |
2021 | - | |
2021 | + //Dated:19-07-2016 Issue#4975: Transparency box should not be clickable if it is already selected. | |
2022 | + $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.currentLayerNumber)); | |
2023 | + $("#txtlayerNumber").val(parseInt($scope.currentLayerNumber)); | |
2022 | 2024 | } |
2023 | 2025 | |
2024 | 2026 | function mouseMoveListener(e) { |
... | ... | @@ -3047,7 +3049,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
3047 | 3049 | // document.getElementById('txtLayerNumber').value = 0; |
3048 | 3050 | // debugger; |
3049 | 3051 | |
3050 | - | |
3052 | + | |
3051 | 3053 | $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.currentLayerNumber)); |
3052 | 3054 | $("#txtlayerNumber").val(parseInt($scope.currentLayerNumber)); |
3053 | 3055 | ... | ... |