From 492808dd452dcd52d8919db2b31d3f541dc50005 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 19 Sep 2017 17:21:52 +0530 Subject: [PATCH] 22404 :Duplicate body annotations/ structures are appearing in Search List. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 984b217..c7a2f31 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -1272,14 +1272,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.$watch('$scope.pinTermData', function (newValue, oldValue, scope) { - if (($('#termlistfilter').html() != "")) - $('#termlistfilter').empty(); if ($scope.pinTermData.length > 0) { $timeout(function () { console.log('pinTermData= ' + $scope.pinTermData.length); $('#termList').empty(); + $('#termlistfilter').empty(); for (var j = 0; j < $scope.pinTermData.length; j++) { var $el = $('
  • ' + $scope.pinTermData[j].TermTxt + '
  • ').appendTo('#termlistfilter') $compile($el)($scope); -- libgit2 0.21.4