Commit a10804440890f115fb608950366e56453ef1ece4
1 parent
4fc74dbc
issue fixed.
Showing
1 changed file
with
8 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -6259,7 +6259,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
6259 | 6259 | |
6260 | 6260 | $scope.enableNormalMode = function () { |
6261 | 6261 | $("#btnTranparency").removeClass("disabled"); |
6262 | - console.log('$scope.isTransparencyActivated= ' + $scope.isTransparencyActivated + ', $scope.currentLayerNumber= ' + $scope.currentLayerNumber) | |
6262 | + | |
6263 | 6263 | if ($scope.isTransparencyActivated) { |
6264 | 6264 | $scope.layerNumber = $scope.currentLayerNumber; |
6265 | 6265 | } |
... | ... | @@ -6924,6 +6924,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
6924 | 6924 | |
6925 | 6925 | $scope.OnGenderChange = function (event) { |
6926 | 6926 | |
6927 | + | |
6927 | 6928 | var canvasDiv = document.getElementById('canvasDiv'); |
6928 | 6929 | $scope.imageVerticalScrollPosition = canvasDiv.scrollTop; |
6929 | 6930 | $scope.imageHorizontlScrollPosition = canvasDiv.scrollLeft; |
... | ... | @@ -6985,6 +6986,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
6985 | 6986 | //3. |
6986 | 6987 | |
6987 | 6988 | $scope.layerNumber = 0; |
6989 | + | |
6988 | 6990 | $scope.loadSelectedBodyView(currentBodyViewId); |
6989 | 6991 | |
6990 | 6992 | |
... | ... | @@ -7137,6 +7139,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
7137 | 7139 | else { |
7138 | 7140 | |
7139 | 7141 | $scope.CalculateImageCordinates($rootScope.viewOrientationId); |
7142 | + | |
7143 | + // $("#btnTranparency").remove("disabled"); | |
7144 | + $('#txtlayerNumber').val($scope.layerNumber) | |
7145 | + | |
7146 | + | |
7140 | 7147 | |
7141 | 7148 | } |
7142 | 7149 | ... | ... |