Commit 588249d53ec988797efa739b4646b15880b4d821

Authored by unknown
1 parent 2d11f8ba

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

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -8455,7 +8455,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
8455 8455 angular.forEach(systemList, function (value, key) {
8456 8456  
8457 8457 systemListHtml = systemListHtml + '<li><a href="#" id="' + value._BodySystemId + '" title="' + value._Name + '">' + value._Name + '</a></li>'
8458   - })
  8458 + })
8459 8459  
8460 8460 systemListHtml = systemListHtml + '</ul>';
8461 8461 $('#bodySystem').append(systemListHtml);
... ... @@ -8856,6 +8856,14 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
8856 8856 $compile($e2)($scope);
8857 8857 document.getElementById("termlistfilter").style.display = "block";
8858 8858 $timeout(function () {
  8859 + $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) {
  8860 + if ($(this).find("a").html() == document.getElementById("typedTermName").value) {
  8861 + $("#termlistfilter li a").css({ "background-color": "#ffffff", "color": "#000000" });
  8862 + $(this).find("a").css({ "background-color": "#3399FF", "color": "#ffffff" });
  8863 + }
  8864 + });
  8865 + }, 100);
  8866 + $timeout(function () {
8859 8867 $rootScope.searchListArray = [];
8860 8868 $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) {
8861 8869 $rootScope.searchListArray.push({ "name": $(this).find("a").html(), "id": $(this).find("a").attr("id") });
... ...