summaryrefslogtreecommitdiff
path: root/src/client/rz_core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-05 13:23:35 +0200
committerAlon Levy <alon@pobox.com>2015-01-05 13:24:27 +0200
commit92425b0dcd17c7dbca92552d0c03fa8b96b6a13f (patch)
tree7eca451cf36f83f9870ca350300e65a22dddb1d0 /src/client/rz_core.js
parent99b80264f20ce722e958a7ee11b1aea9c06b4da5 (diff)
client: renames (find - all are lower case underscore separates) plus clone+input-to-diff to db and back flow working
Diffstat (limited to 'src/client/rz_core.js')
-rw-r--r--src/client/rz_core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 5c83407e..3da4f8c7 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -199,8 +199,8 @@ function recenterZoom() {
vis.attr("transform", "translate(0,0)scale(1)");
}
-main_graph = new model_graph.Graph(false);
-edit_graph = new model_graph.Graph(true);
+main_graph = new model_graph.Graph({temporary: false, base: null});
+edit_graph = new model_graph.Graph({temporary: true, base: main_graph});
var initDrawingArea = function () {