From 0da026577888661ccdcf1109ec9fb39d30bf5644 Mon Sep 17 00:00:00 2001 From: John Crossman Date: Wed, 28 Jun 2017 16:20:50 -0700 Subject: [PATCH] COL-1069, isLoading=true during subsequent searches in Asset Library --- public/app/assetlibrary/list/assetLibraryListController.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/assetlibrary/list/assetLibraryListController.js b/public/app/assetlibrary/list/assetLibraryListController.js index 9100618d..28e22802 100644 --- a/public/app/assetlibrary/list/assetLibraryListController.js +++ b/public/app/assetlibrary/list/assetLibraryListController.js @@ -91,6 +91,9 @@ * @return {void} */ var getAssets = $scope.getAssets = function() { + // Hide 'no results' message in the UI until we have results + $scope.isLoading = true; + // Keep track of the search options in the parent container's hash to allow // for deep linking to a search // NOTE: For deep linking to work, our custom 'getParentUrlData' and 'setParentHash' cross-window events must be supported