Commit c8d55921fb44a9899fe925f52a8774e3ea2a37e5
1 parent
9c3f0aab
this is solution for the bug 21264 Atlas Anatomy : The message is missing
Showing
1 changed file
with
4 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -543,10 +543,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -543,10 +543,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
543 | }); | 543 | }); |
544 | 544 | ||
545 | //Show Error Message in case of gridview if no data is found | 545 | //Show Error Message in case of gridview if no data is found |
546 | - if ($scope.searchCIListViewData.length == 0) { | 546 | + if ($scope.searchAAListViewData.length == 0) { |
547 | 547 | ||
548 | 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'); | 548 | 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'); |
549 | $compile($el)($scope); | 549 | $compile($el)($scope); |
550 | + $('table > #ListViewDiv > #searchItem').remove(); | ||
551 | + | ||
552 | + $('#ListViewDiv').append('<tr id="searchItem"><td colspan="6"><strong style="color:black;">No illustration found for the selected search criteria!</strong></td></tr>'); | ||
550 | } | 553 | } |
551 | console.log(JSON.stringify(result, null, 4)); | 554 | console.log(JSON.stringify(result, null, 4)); |
552 | }, | 555 | }, |