Commit 492808dd452dcd52d8919db2b31d3f541dc50005

Authored by unknown
1 parent 1d126740

22404 :Duplicate body annotations/ structures are appearing in Search List.

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -1272,14 +1272,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1272 1272  
1273 1273  
1274 1274 $scope.$watch('$scope.pinTermData', function (newValue, oldValue, scope) {
1275   -
1276 1275 if (($('#termlistfilter').html() != ""))
1277   -
1278 1276 $('#termlistfilter').empty();
1279 1277 if ($scope.pinTermData.length > 0) {
1280 1278 $timeout(function () {
1281 1279 console.log('pinTermData= ' + $scope.pinTermData.length);
1282 1280 $('#termList').empty();
  1281 + $('#termlistfilter').empty();
1283 1282 for (var j = 0; j < $scope.pinTermData.length; j++) {
1284 1283 var $el = $('<li><a id= "' + $scope.pinTermData[j].TermNumber + '" href="" onclick="onSearchItemSelection(event)" >' + $scope.pinTermData[j].TermTxt + '</a></li>').appendTo('#termlistfilter')
1285 1284 $compile($el)($scope);
... ...