summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-08-08 15:09:27 +0300
committerAlon Levy <alon@pobox.com>2015-08-08 15:09:27 +0300
commitf729cf729f46998e86da025f8829a272a5330b0c (patch)
tree9879389f2db55208bc97455ab03275f241535340 /src/client/view/graph_view.js
parent79b13bae263ad08dd35ed63b0c3d0b7f2932fa5d (diff)
fixing problems with position recording - broke temporary and broke still <enter> breaks (need to reload to see the new node - so it is missing an attribute?
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js2
1 files changed, 1 insertions, 1 deletions
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;
}