diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 1c5dabe..1b9877c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2166,13 +2166,13 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo if ($scope.doAligneCanvasWithTerm == true) { //debugger; - if ($scope.isHighlightBodysystem == true || $rootScope.isListManagerSelected == true) + if ($scope.isHighlightBodyByBodySystem == true || $rootScope.isListManagerSelected == true) $rootScope.isLoading = false; $('#spinner').css('visibility', 'hidden'); - $scope.isHighlightBodysystem = false; + $scope.isHighlightBodyByBodySystem = false; if ($rootScope.isListManagerSelected == true) $scope.aligneCanvasWithTerm(); @@ -4928,7 +4928,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#spinner').css('visibility', 'hidden'); //} - if (($scope.isHighlightBodysystem == true) && ($scope.systemMatchedTermList != null || $scope.systemMatchedTermList != undefined)) { + if (($scope.isHighlightBodyByBodySystem == true) && ($scope.systemMatchedTermList != null || $scope.systemMatchedTermList != undefined)) { $scope.isLoading = true; @@ -6418,10 +6418,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo }); - - //----End----- - - //body highlight options functinality $scope.LoadBodySystemData = function () { @@ -6452,10 +6448,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } - $scope.HighlightBodysystem = function (event) { + $scope.HighlightBodyByBodySystem = function (event) { //NIKITA - $scope.isHighlightBodysystem = true; + $scope.isHighlightBodyByBodySystem = true; $scope.systemMatchedTermList = new jinqJs() .from($rootScope.BodySystemData.BodySystem.BodySystemTerm) .where('_SystemNumber == ' + event.currentTarget.id) @@ -6464,7 +6460,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo if ($rootScope.isHighLight == false) { //color the body gray $rootScope.isHighLight = true - console.log('highLightBody from HighlightBodysystem') + console.log('highLightBody from HighlightBodyByBodySystem') $scope.highLightBody(); } //now highlight the selected body system in whole body @@ -6474,7 +6470,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#spinner').css('visibility', 'visible'); //NIKITA - // $scope.isHighlightBodysystem = true; + // $scope.isHighlightBodyByBodySystem = true; //if (systemMatchedTermList != null || systemMatchedTermList != undefined) { @@ -6722,7 +6718,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $("#canvasDiv").scrollTop(scrolly); $("#canvasDiv").scrollLeft(scrollx); - if (($scope.isHighlightBodysystem == true) && ($scope.systemMatchedTermList != null || $scope.systemMatchedTermList != undefined)) { + if (($scope.isHighlightBodyByBodySystem == true) && ($scope.systemMatchedTermList != null || $scope.systemMatchedTermList != undefined)) { $timeout(function () { $scope.HighlightBodyByTermList(systemMatchedTermList) }, 100); } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index 5a31d94..61fc6f1 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -159,18 +159,18 @@