From 41e59c3b8e2590ceb350a515b2b423067f56dbfd Mon Sep 17 00:00:00 2001 From: pratibha.raturi Date: Wed, 22 May 2019 11:40:03 +0530 Subject: [PATCH] BUG#32146 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 7ac4b83..7ddb801 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6696,14 +6696,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); - $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber)); - - //if ($scope.isGenderChnage || $rootScope.isViewChange) { - // $("#txtlayerNumber").val(parseInt(0)); - //} - //else + + //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(); -- libgit2 0.21.4