Commit 008a01552463b92f61d8cd18f405a58de343e19f

Authored by Pratibha Raturi
1 parent 4c11c348

Changes for BUG#22814

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -6698,12 +6698,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ @@ -6698,12 +6698,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$
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 6699
6700 $('#layerChangeSlider').slider("option", "value", sliderVal); 6700 $('#layerChangeSlider').slider("option", "value", sliderVal);
  6701 + $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber));
  6702 +
6701 //if ($scope.isGenderChnage || $rootScope.isViewChange) { 6703 //if ($scope.isGenderChnage || $rootScope.isViewChange) {
6702 // $("#txtlayerNumber").val(parseInt(0)); 6704 // $("#txtlayerNumber").val(parseInt(0));
6703 //} 6705 //}
6704 //else 6706 //else
6705 - $("#txtlayerNumber").val(parseInt($rootScope.currentLayerNumber));  
6706 -  
6707 6707
6708 if (document.getElementById('tempCanvas') != null) { 6708 if (document.getElementById('tempCanvas') != null) {
6709 $('#tempCanvas').remove(); 6709 $('#tempCanvas').remove();
@@ -8521,7 +8521,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ @@ -8521,7 +8521,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$
8521 8521
8522 $('#structureDropdown').html(""); 8522 $('#structureDropdown').html("");
8523 var currentBodyViewId = $rootScope.voId; 8523 var currentBodyViewId = $rootScope.voId;
8524 - var systemListHtml = '<li><a href="#" title="Current Structure">Current Structure</a></li> <li role="separator" class="divider"></li>' 8524 + var systemListHtml = '<li><a href="#" title="Current Structure" onclick="OnBodySystemSelection(event)">Current Structure</a></li> <li role="separator" class="divider"></li>'
8525 var systemList = $rootScope.CommonData.DACommonData.BodySystems.Item; 8525 var systemList = $rootScope.CommonData.DACommonData.BodySystems.Item;
8526 8526
8527 angular.forEach(systemList, function (value, key) { 8527 angular.forEach(systemList, function (value, key) {
@@ -8687,6 +8687,7 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$filter&quot;,&quot;$ @@ -8687,6 +8687,7 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$filter&quot;,&quot;$
8687 grayCanvasContext.putImageData($rootScope.grayImageDataList[parseInt(i)], 0, 0); 8687 grayCanvasContext.putImageData($rootScope.grayImageDataList[parseInt(i)], 0, 0);
8688 } 8688 }
8689 } 8689 }
  8690 +
8690 } 8691 }
8691 8692
8692 $scope.removeBodySyetemSelectionClass = function (title_highlightbody) { 8693 $scope.removeBodySyetemSelectionClass = function (title_highlightbody) {