From 304ff56ede5803daf7820a9aafba77932e79412a Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 29 Dec 2014 14:50:21 +0200 Subject: client/model/graph: remove editLink, no longer used (superceded by update_link) --- src/client/model/graph.js | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/client/model/graph.js') diff --git a/src/client/model/graph.js b/src/client/model/graph.js index 000f675b..4d6e1911 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -442,19 +442,6 @@ function Graph() { } this.addLink = addLink; - this.editLink = function(src_id, dst_id, newname, newstate) { - var link = findLink(src_id, dst_id, newname); - - if (link === undefined) { - return; - } - link.name = newname; - if (newstate !== undefined) { - link.state = newstate; - } - rz_bus.names.push([newname]); - } - this.update_link = function(link, new_link_spec, on_success, on_error) { util.assert(link instanceof model_core.Link); -- cgit v1.3.1