From 92eb91a3c605cbd830d20dae6488a44d3679299c Mon Sep 17 00:00:00 2001 From: garbash Date: Fri, 28 Nov 2014 13:51:23 +0200 Subject: Changed node types names resolving #162 --- src/rz_core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rz_core.js') diff --git a/src/rz_core.js b/src/rz_core.js index cb0365a6..44dd02fb 100644 --- a/src/rz_core.js +++ b/src/rz_core.js @@ -382,7 +382,7 @@ function update_view__graph(no_relayout) { var nodes = graph.nodes(); for (var i = 0; i < nodes.length; i++) { var current = nodes[i]; - if (current.type === "deliverable") { + if (current.type === "third-internship-proposal") { deliverables.push({ "id": nodes[i].id, "startdate": nodes[i].start, @@ -436,7 +436,7 @@ function tick(e) { var linktext = vis.selectAll(".linklabel").data(graph.links()); function transform(d) { - if (graphstate === "GRAPH" || d.type === "deliverable") { + if (graphstate === "GRAPH" || d.type === "third-internship-proposal") { if (check_for_nan(d.x) || check_for_nan(d.y)) { return; } -- cgit v1.3.1