From cb0c218b3609947c32574c47bf85a0153f41ac57 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 5 Jan 2015 17:20:20 +0200 Subject: client: link removal to server works, missing update of client --- 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 43a7e849..178a5209 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -224,7 +224,7 @@ function GraphView(spec) { view.edge_info.on_delete(function () { view.edge_info.hide(); - graph.removeLink(that.link); + graph.links_rm([that.link]); }); view.edge_info.show(d); selection.update([src, dst]); -- cgit v1.3.1