Commit aa9dd83b7f2425a165ca9f3f12e4dc671d71c200
1 parent
2145f310
Issue fixed.
duplicate entries in body system filter is removed. also terms are filtered as per body system selection.
Showing
1 changed file
with
2 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -6671,6 +6671,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
6671 | 6671 | var systemList = $rootScope.CommonData.DACommonData.BodySystems.Item; |
6672 | 6672 | |
6673 | 6673 | //var systemListHtml = '<option value="0" selected="">All</option>' |
6674 | + $('#bodySystems').empty(); | |
6674 | 6675 | |
6675 | 6676 | var $all = $('<option ng-click=refreshTermListOnSystemSelection($event) id="0" selected="">All</option>').appendTo('#bodySystems'); |
6676 | 6677 | $compile($all)($scope); |
... | ... | @@ -6706,7 +6707,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
6706 | 6707 | |
6707 | 6708 | // var TermTextList = []; |
6708 | 6709 | // var TermTextList = []; |
6709 | - | |
6710 | + $('#termList').empty(); | |
6710 | 6711 | $scope.loadListManger(); |
6711 | 6712 | |
6712 | 6713 | ... | ... |