diff options
Diffstat (limited to 'src/client/rz_core.js')
| -rw-r--r-- | src/client/rz_core.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js index 2361b45f..7006af36 100644 --- a/src/client/rz_core.js +++ b/src/client/rz_core.js @@ -76,7 +76,9 @@ var svgInput = (function() { d = jelement.data().d; if (e.which == 13 && newname != d.name) { if (d.hasOwnProperty('__src')) { - graph.editLink(d.__src.id, d.__dst.id, newname); + graph.update_link(d, {name: newname}, function() { + update_view__graph(true); + }); } else { graph.update_node(d, {name: newname}, function() { rz_bus.names.push([newname]); |
