mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
GUAC-1429: Modify Directory API to set identifier on added object, and update javascript to use new models.
This commit is contained in:
@@ -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