From 71573c5d37adb06660cf9e1413e391e2585b1543 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 22 Dec 2014 11:41:23 +0200 Subject: client/model/graph: drop dead code: editLinkTarget --- src/client/model/graph.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/client/model/graph.js') diff --git a/src/client/model/graph.js b/src/client/model/graph.js index c6f96d29..23e184a8 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -374,16 +374,6 @@ function Graph() { rz_bus.names.push([newname]); } - this.editLinkTarget = function(src_id, dst_id, new_dst_id) { - var link = findLink(src_id, dst_id, null); - if (link !== undefined) { - link.__dst = find_node__by_id(new_dst_id); - - } else { - - } - } - this.update_node = function(node, new_node_spec, on_success, on_error) { util.assert(node instanceof model_core.Node); -- cgit v1.3.1