From 055fa4a655c5dbb4347e54260e33f5a7225b93a0 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 24 Apr 2017 15:11:36 +0530 Subject: [PATCH] Mozilla Firefox > Clinical Animation > List View > "No animation found for the selected search criteria!" is display for some seconds even when selected filter is available --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js | 5 +++-- 400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js index 15e560b..cd6e5a5 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js @@ -397,12 +397,13 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout }); - + $('table > #ListViewDiv > #searchAnimation').remove(); //Show Error Message in case of gridview if no data is found if ($scope.searchCAListViewData.length == 0) { - var $el = $('
No animation found for the selected search criteria!
').appendTo('#grid-view'); $compile($el)($scope); + $('table > #ListViewDiv > #searchAnimation').remove(); + $('#ListViewDiv').append('No animation found for the selected search criteria!'); } }, diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html index e408134..e339eef 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html @@ -99,9 +99,9 @@ {{item._MedicalSpecialty}} - + -- libgit2 0.21.4