Commit f818d328b20330f446fc6956f9608a1004bcb7c8

Authored by unknown
1 parent f82d3bec

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... ... @@ -467,13 +467,14 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
467 467 });
468 468 }
469 469 });
470   -
  470 + $('table > #ListViewDiv > #searchItem').remove();
471 471 //Show Error Message in case of gridview if no data is found
472 472 if ($scope.searchCIListViewData.length == 0) {
473 473 var $el = $('<div class="col-sm-12" style="padding-left:25px;padding-top:10px;"><strong style="color:white">No illustration found for the selected search criteria!</strong></div>').appendTo('#grid-view');
474 474 $compile($el)($scope);
475   - $('table > #ListViewDiv > #searchItem td').remove();
476   - $('#ListViewDiv').append('<tr id="searchItem"><td colspan="6"><strong style="color:black;">No illustration found for the selected search criteria!</strong></td></tr>');
  475 + $('table > #ListViewDiv > #searchItem').remove();
  476 +
  477 + $('#ListViewDiv').append('<tr id="searchItem"><td colspan="6"><strong style="color:black;">No illustration found for the selected search criteria!</strong></td></tr>');
477 478 }
478 479 },
479 480 function (error) {
... ...