Commit 0f860c4774aa4788c5b43ea4d9d481d1c9926569
Merge branch 'messageAASearchEmpty' into Develop
Showing
1 changed file
with
4 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -549,10 +549,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -549,10 +549,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
549 | }); | 549 | }); |
550 | 550 | ||
551 | //Show Error Message in case of gridview if no data is found | 551 | //Show Error Message in case of gridview if no data is found |
552 | - if ($scope.searchCIListViewData.length == 0) { | 552 | + if ($scope.searchAAListViewData.length == 0) { |
553 | 553 | ||
554 | 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'); | 554 | 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'); |
555 | $compile($el)($scope); | 555 | $compile($el)($scope); |
556 | + $('table > #ListViewDiv > #searchItem').remove(); | ||
557 | + | ||
558 | + $('#ListViewDiv').append('<tr id="searchItem"><td colspan="6"><strong style="color:black;">No illustration found for the selected search criteria!</strong></td></tr>'); | ||
556 | } | 559 | } |
557 | console.log(JSON.stringify(result, null, 4)); | 560 | console.log(JSON.stringify(result, null, 4)); |
558 | }, | 561 | }, |