mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-975: Always hide status dialogs upon navigation.
This commit is contained in:
		| @@ -517,9 +517,6 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams | ||||
|  | ||||
|         } | ||||
|  | ||||
|         // Hide any status dialog | ||||
|         $scope.showStatus(false); | ||||
|  | ||||
|     }); | ||||
|  | ||||
| }]); | ||||
|   | ||||
| @@ -198,12 +198,17 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|     // Update title and CSS class upon navigation | ||||
|     $scope.$on('$routeChangeSuccess', function(event, current, previous) { | ||||
|  | ||||
|         // Set title | ||||
|         var title = current.$$route.title; | ||||
|         if (title) | ||||
|             $scope.page.title = title; | ||||
|  | ||||
|         // Set body CSS class | ||||
|         $scope.page.bodyClassName = current.$$route.bodyClassName || ''; | ||||
|  | ||||
|         // Hide any status dialog | ||||
|         $scope.showStatus(false); | ||||
|  | ||||
|     }); | ||||
|  | ||||
| }]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user