mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 17:13:21 +00:00 
			
		
		
		
	GUAC-897 Added status message while home or manage pages are loading.
This commit is contained in:
		| @@ -39,6 +39,12 @@ angular.module('home').controller('homeController', ['$scope', '$injector', | ||||
|     // All valid recent connections | ||||
|     $scope.recentConnections = []; | ||||
|      | ||||
|     // Set status to loading until we have all the connections and groups loaded | ||||
|     $scope.showStatus({ | ||||
|         title : 'status.loadingTitle', | ||||
|         text  : 'status.loadingText' | ||||
|     }); | ||||
|      | ||||
|     /* Fetch all connections and groups, then find which recent connections | ||||
|      * still refer to valid connections and groups. | ||||
|      */ | ||||
| @@ -76,6 +82,8 @@ angular.module('home').controller('homeController', ['$scope', '$injector', | ||||
|                 $scope.recentConnections.push(recentConnection); | ||||
|             } | ||||
|         }); | ||||
|          | ||||
|         $scope.showStatus(false); | ||||
|     }); | ||||
|      | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user