summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-22 11:41:23 +0200
committerAlon Levy <alon@pobox.com>2014-12-22 11:50:42 +0200
commit71573c5d37adb06660cf9e1413e391e2585b1543 (patch)
tree4e3ded145578a73c3d0c5ad090ccb32b574dacee /src/client/model/graph.js
parentd12894d12e9710fba826541d49c6a6cdefed6194 (diff)
client/model/graph: drop dead code: editLinkTarget
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js10
1 files changed, 0 insertions, 10 deletions
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);