From 1902a67b0ee6a6704c60cf26d57992aabcad244f Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Mon, 2 Dec 2013 22:47:31 +0100 Subject: [PATCH] The GraphViewer will now again be aware of new nodes _key and _rev --- .../aardvark/frontend/js/graphViewer/graph/arangoAdapter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/apps/system/aardvark/frontend/js/graphViewer/graph/arangoAdapter.js b/js/apps/system/aardvark/frontend/js/graphViewer/graph/arangoAdapter.js index c1bc413b4d..362418ec2a 100644 --- a/js/apps/system/aardvark/frontend/js/graphViewer/graph/arangoAdapter.js +++ b/js/apps/system/aardvark/frontend/js/graphViewer/graph/arangoAdapter.js @@ -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); }