From 4dc93920b3e1acb69a89be4245bc5907dc51df9b Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Thu, 13 Aug 2015 14:53:38 +0300 Subject: #612: fix - node displayed in edit graph view after submit --- 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 bcd04b91..6e068891 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -234,7 +234,7 @@ function GraphView(spec) { } } } - if (nodes.length == 0 || (!temporary && !relayout && have_position === 0)) { + if (!temporary && (nodes.length == 0 || (!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