mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	Merge pull request #302 from glyptodon/GUAC-1429
GUAC-1429: Return whole objects instead of identifiers to fix text/plain conversion error.
This commit is contained in:
		| @@ -145,8 +145,8 @@ angular.module('rest').factory('connectionGroupService', ['$injector', | ||||
|             }) | ||||
|  | ||||
|             // Set the identifier on the new connection group and clear the cache | ||||
|             .success(function connectionGroupCreated(identifier){ | ||||
|                 connectionGroup.identifier = identifier; | ||||
|             .success(function connectionGroupCreated(newConnectionGroup){ | ||||
|                 connectionGroup.identifier = newConnectionGroup.identifier; | ||||
|                 cacheService.connections.removeAll(); | ||||
|             }); | ||||
|         } | ||||
|   | ||||
| @@ -152,8 +152,8 @@ angular.module('rest').factory('connectionService', ['$injector', | ||||
|             }) | ||||
|  | ||||
|             // Set the identifier on the new connection and clear the cache | ||||
|             .success(function connectionCreated(identifier){ | ||||
|                 connection.identifier = identifier; | ||||
|             .success(function connectionCreated(newConnection){ | ||||
|                 connection.identifier = newConnection.identifier; | ||||
|                 cacheService.connections.removeAll(); | ||||
|             }); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user