diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index f009ebf..e7c28cb 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6706,14 +6706,15 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ var sliderVal = parseInt($rootScope.totalLayers) - parseInt($rootScope.currentLayerNumber); console.log('inside mouseDownListener. document.getElementById layerChangeSlider value : ' + document.getElementById('layerChangeSlider') + '$rootScope.totalLayers: ' + $rootScope.totalLayers + ' - $rootScope.currentLayerNumber: ' + $rootScope.currentLayerNumber + ' = set value for layerChangeSlider: ' + sliderVal); - - $('#layerChangeSlider').slider("option", "value", sliderVal); - //if ($scope.isGenderChnage || $rootScope.isViewChange) { - // $("#txtlayerNumber").val(parseInt(0)); - //} - //else - $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber)); - + + //START BUG#32146 + if (($rootScope.isHighlightBodyByBodySystem == true || $scope.isbodySystemHighlight == true) && $rootScope.systemNumber > 0) { + } + else { + $('#layerChangeSlider').slider("option", "value", sliderVal); + $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber)); + } + //END BUG#32146 if (document.getElementById('tempCanvas') != null) { $('#tempCanvas').remove(); @@ -8531,7 +8532,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ $('#structureDropdown').html(""); var currentBodyViewId = $rootScope.voId; - var systemListHtml = '
  • Current Structure
  • ' + var systemListHtml = '
  • Current Structure
  • ' var systemList = $rootScope.CommonData.DACommonData.BodySystems.Item; angular.forEach(systemList, function (value, key) { @@ -8697,6 +8698,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ grayCanvasContext.putImageData($rootScope.grayImageDataList[parseInt(i)], 0, 0); } } + } $scope.removeBodySyetemSelectionClass = function (title_highlightbody) {