Commit 9e176a5ff5e5e6ba148204d8c95771a016c9b46c

Authored by unknown
1 parent 3034a22f

11132:DA > Annotation search from Search List is not highlight in the List manager.

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -3092,7 +3092,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3092 3092 $rootScope.islistManagerEventAlredayDispachted = true;
3093 3093  
3094 3094 $rootScope.$broadcast('listManagerEvent', true);
3095   -
  3095 +
3096 3096 if ($rootScope.selectedBodySystemName == undefined && $rootScope.slectedActualTermNumber == undefined) {
3097 3097 $('#termList option[selected="selected"]').prop("selected", false);
3098 3098 $('#termList option[value="' + $rootScope.searchSelectedText + '"]').prop("selected", true);
... ... @@ -3111,11 +3111,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3111 3111  
3112 3112 $('#bodySystems option[selected="selected"]').prop("selected", false);
3113 3113 $('#bodySystems option[value="' + $rootScope.selectedBodySystemName + '"]').prop("selected", true);
3114   -
3115   - // $('#termList option[selected="selected"]').prop("selected", false);
3116   - // $('#termList option[value="' + $rootScope.SelectedTermList + '"]').prop("selected", true);
3117   - //$("#termList").find("option").css({ "background-color": "#ffffff", "color": "#000000" });
3118   - //$('#termList option[value="' + $rootScope.SelectedTermList + '"]').css({ "background-color": "#3399FF", "color": "#ffffff" });
  3114 + $("#termList").find("option").css({ "background-color": "#ffffff", "color": "#000000" });
  3115 + $('#termList option[value="' + $rootScope.searchSelectedText + '"]').css({ "background-color": "#3399FF", "color": "#ffffff" });
  3116 +
3119 3117 }
3120 3118 $("#optionsListManagerTab").addClass("active");
3121 3119 var viewNameAftrSplit = $("#viewName").val().split(" ");
... ...