Apache Solr open-source search software
SOLR-7732 Loader icon keeps spinning and is chopped in half
Upayavira5d8668700f81
diff --git a/solr/webapp/web/css/angular/common.css b/solr/webapp/web/css/angular/common.cssindex e733fb0ba8b..9cc7a18957e 100644--- a/solr/webapp/web/css/angular/common.css+++ b/solr/webapp/web/css/angular/common.css@@ -182,8 +182,10 @@ ul.universal-loader {position: absolute;- left: 0px;+ left: -16px;top: 0px;+ width: 16px;+ height: 16px;}#wrapperdiff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.jsindex c77067df1fe..a99c000682b 100644--- a/solr/webapp/web/js/angular/app.js+++ b/solr/webapp/web/js/angular/app.js@@ -253,7 +253,6 @@ solrAdminApp.config([var activeRequests = 0;var started = function(config) {- console.log("start HTTP for " + config.url);if (activeRequests == 0) {$rootScope.$broadcast('loadingStatusActive');}@@ -267,7 +266,6 @@ solrAdminApp.config([if (activeRequests == 0) {$rootScope.$broadcast('loadingStatusInactive');}- console.log("ended");if ($rootScope.retryCount>0) {$rootScope.connectionRecovered = true;$rootScope.retryCount=0;@@ -280,14 +278,13 @@ solrAdminApp.config([};var failed = function(rejection) {- if (rejection.config.params.doNotIntercept) {- return rejection;- }activeRequests--;if (activeRequests == 0) {$rootScope.$broadcast('loadingStatusInactive');}- console.log("ERROR " + rejection.status + ": " + rejection.config.url);+ if (rejection.config.params.doNotIntercept) {+ return rejection;+ }if (rejection.status === 0) {$rootScope.$broadcast('connectionStatusActive');if (!$rootScope.retryCount) $rootScope.retryCount=0;