From f729cf729f46998e86da025f8829a272a5330b0c Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sat, 8 Aug 2015 15:09:27 +0300 Subject: fixing problems with position recording - broke temporary and broke still breaks (need to reload to see the new node - so it is missing an attribute? --- src/client/view/graph_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/view/graph_view.js') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index c2271948..9f66757c 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -234,7 +234,7 @@ function GraphView(spec) { } } } - if (have_position === 0) { + if (!temporary && 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