From ec70a92de623a57cef25482a91ffde72472efbfe Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 9 Aug 2015 09:17:26 +0300 Subject: client/view/graph_view: fix addition of a node on with new position loading --- src/client/view/graph_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 9f66757c..9b0e61a6 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -234,7 +234,7 @@ function GraphView(spec) { } } } - if (!temporary && have_position === 0) { + if (!temporary && !relayout && have_position === 0) { // avoid recursion due to layout triggering sending of new positions to db, resulting in a new diff update return; } -- cgit v1.3.1