Commit 41e59c3b8e2590ceb350a515b2b423067f56dbfd
1 parent
008a0155
BUG#32146
Showing
1 changed file
with
9 additions
and
8 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -6696,14 +6696,15 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ | @@ -6696,14 +6696,15 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ | ||
6696 | var sliderVal = parseInt($rootScope.totalLayers) - parseInt($rootScope.currentLayerNumber); | 6696 | var sliderVal = parseInt($rootScope.totalLayers) - parseInt($rootScope.currentLayerNumber); |
6697 | 6697 | ||
6698 | console.log('inside mouseDownListener. document.getElementById layerChangeSlider value : ' + document.getElementById('layerChangeSlider') + '$rootScope.totalLayers: ' + $rootScope.totalLayers + ' - $rootScope.currentLayerNumber: ' + $rootScope.currentLayerNumber + ' = set value for layerChangeSlider: ' + sliderVal); | 6698 | console.log('inside mouseDownListener. document.getElementById layerChangeSlider value : ' + document.getElementById('layerChangeSlider') + '$rootScope.totalLayers: ' + $rootScope.totalLayers + ' - $rootScope.currentLayerNumber: ' + $rootScope.currentLayerNumber + ' = set value for layerChangeSlider: ' + sliderVal); |
6699 | - | ||
6700 | - $('#layerChangeSlider').slider("option", "value", sliderVal); | ||
6701 | - $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber)); | ||
6702 | - | ||
6703 | - //if ($scope.isGenderChnage || $rootScope.isViewChange) { | ||
6704 | - // $("#txtlayerNumber").val(parseInt(0)); | ||
6705 | - //} | ||
6706 | - //else | 6699 | + |
6700 | + //START BUG#32146 | ||
6701 | + if (($rootScope.isHighlightBodyByBodySystem == true || $scope.isbodySystemHighlight == true) && $rootScope.systemNumber > 0) { | ||
6702 | + } | ||
6703 | + else { | ||
6704 | + $('#layerChangeSlider').slider("option", "value", sliderVal); | ||
6705 | + $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber)); | ||
6706 | + } | ||
6707 | + //END BUG#32146 | ||
6707 | 6708 | ||
6708 | if (document.getElementById('tempCanvas') != null) { | 6709 | if (document.getElementById('tempCanvas') != null) { |
6709 | $('#tempCanvas').remove(); | 6710 | $('#tempCanvas').remove(); |