1
0
Fork 0

The GraphViewer will now again be aware of new nodes _key and _rev

This commit is contained in:
Michael Hackstein 2013-12-02 22:47:31 +01:00
parent cec169fc4f
commit 1902a67b0e
1 changed files with 2 additions and 0 deletions

View File

@ -470,7 +470,9 @@ function ArangoAdapter(nodes, edges, config) {
processData: false,
success: function(data) {
if (data.error === false) {
nodeToAdd._key = data._key;
nodeToAdd._id = data._id;
nodeToAdd._rev = data._rev;
absAdapter.insertNode(nodeToAdd);
callback(nodeToAdd);
}