GUAC-1429: Modify Directory API to set identifier on added object, and update javascript to use new models.
This commit is contained in:
1 parent
86841ebfe3
commit
b0ac9e8d52
6 files changed
+26
-16
No files matched your search
@@ -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