Commit f6fdbf6b421b798ed2807291dec224a5ded1f1c4
Merge branch 'Anno_searchListIsse' into Develop-IPAD-MAC
Showing
1 changed file
with
9 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -8455,7 +8455,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -8455,7 +8455,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
8455 | angular.forEach(systemList, function (value, key) { | 8455 | angular.forEach(systemList, function (value, key) { |
8456 | 8456 | ||
8457 | systemListHtml = systemListHtml + '<li><a href="#" id="' + value._BodySystemId + '" title="' + value._Name + '">' + value._Name + '</a></li>' | 8457 | systemListHtml = systemListHtml + '<li><a href="#" id="' + value._BodySystemId + '" title="' + value._Name + '">' + value._Name + '</a></li>' |
8458 | - }) | 8458 | + }) |
8459 | 8459 | ||
8460 | systemListHtml = systemListHtml + '</ul>'; | 8460 | systemListHtml = systemListHtml + '</ul>'; |
8461 | $('#bodySystem').append(systemListHtml); | 8461 | $('#bodySystem').append(systemListHtml); |
@@ -8856,6 +8856,14 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -8856,6 +8856,14 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
8856 | $compile($e2)($scope); | 8856 | $compile($e2)($scope); |
8857 | document.getElementById("termlistfilter").style.display = "block"; | 8857 | document.getElementById("termlistfilter").style.display = "block"; |
8858 | $timeout(function () { | 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 | $rootScope.searchListArray = []; | 8867 | $rootScope.searchListArray = []; |
8860 | $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { | 8868 | $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { |
8861 | $rootScope.searchListArray.push({ "name": $(this).find("a").html(), "id": $(this).find("a").attr("id") }); | 8869 | $rootScope.searchListArray.push({ "name": $(this).find("a").html(), "id": $(this).find("a").attr("id") }); |