diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 7bbf7ba..b3b043f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1492,7 +1492,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // console.log('$rootScope.isListManagerSelected= ' + $rootScope.isListManagerSelected + ' length= ' + $scope.ColoredImageSRC.length) - if (($scope.ColoredImageSRC != null || $scope.ColoredImageSRC != undefined)) { if ((($rootScope.viewOrientationId == '1') || ($rootScope.viewOrientationId == '4')) && ($scope.ColoredImageSRC.length == 9)) { @@ -1848,6 +1847,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.coloredImageCanvasList[parseInt(bodyRegionId - 1)] = coloredImageDataVar; } // + if (($scope.ColoredImageSRC != null || $scope.ColoredImageSRC != undefined)) { @@ -2507,6 +2507,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //send actual term no to get the term text. actualTermNo = $scope.matchedTermNoData[0]._ActualTermNumber; annotationText = $scope.GetAnnotationBasedOnActualTermNo(actualTermNo); + $rootScope.actualTermNumber = actualTermNo; break; }; @@ -5631,7 +5632,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#spinner').css('visibility', 'visible'); $timeout(function () { $scope.HighlightBodyByTermList($scope.systemMatchedTermList) }, 100); } - else if ($rootScope.isListManagerSelected == true) { + else if (($rootScope.isListManagerSelected == true) || ($rootScope.previousHighlightList != null && $rootScope.previousHighlightList.length > 0) && ($rootScope.isGenderChnage==true || $rootScope.isViewChange==true)) { // console.log('$scope.grayedBR.length is ' + $scope.grayedBR.length); $timeout(function () { @@ -5914,6 +5915,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo var viewname = localStorage.getItem("currentViewTitle") var currentBodyViewId = $scope.correspondingBodyViewIds[$rootScope.voId]; + if ((event.currentTarget.attributes[1].value == 'Male') && (localStorage.getItem("genderId") == 'Female')) { //1. @@ -5925,8 +5927,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); //3. - $scope.layerNumber = 0; - $scope.loadSelectedBodyView(currentBodyViewId); + + $scope.layerNumber = 0; + $scope.loadSelectedBodyView(currentBodyViewId); + //4. $scope.loadSelectedBodyViewNavigator(currentBodyViewId); @@ -5955,8 +5959,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); //3. - $scope.layerNumber = 0; - $scope.loadSelectedBodyView(currentBodyViewId); + + $scope.layerNumber = 0; + $scope.loadSelectedBodyView(currentBodyViewId); + //4. $scope.loadSelectedBodyViewNavigator(currentBodyViewId); @@ -6065,7 +6071,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } //if user seelcted any term and serached before gender cnage then itshould be highlighted in chnaged gender - if (($rootScope.isListManagerSelected == true) && (($rootScope.isGenderChnage == true) || $rootScope.isViewChange == true)) { + if ((($rootScope.isListManagerSelected == true) || ($rootScope.isHighLight == true && $rootScope.previousHighlightList != null && $rootScope.previousHighlightList.length > 0)) && (($rootScope.isGenderChnage == true) || $rootScope.isViewChange == true)) { $scope.setLayerNumberAndHighlightByTermList(); @@ -7114,7 +7120,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //9. $timeout(function () { - $rootScope.isHighLight = false; + if(($rootScope.isGenderChnage == true && $rootScope.isHighLight==true) || ($rootScope.isViewChange == true && $rootScope.isHighLight==true)){ + + } + else{ + $rootScope.isHighLight = false; + } $('#sppeachBubble').css('display', 'none'); $("#dot").css("display", "none"); //DA > Annotation's Line should not displayed. diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html index d90442a..fa48772 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html @@ -35,7 +35,18 @@
Search
-   + + +
+ + + +
+ + +
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html index e9a0cfb..ad4f614 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html @@ -49,7 +49,18 @@
Search
-   + +
+ + + +
+ + + +