diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-02 18:35:07 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-03 15:19:30 +0200 |
| commit | 3d47fdfa2ff4b627084206fd83441d8a3873d075 (patch) | |
| tree | f9baafbed3869056112d835ecd5ea4d012fb968c /scripts/rhizicore.js | |
| parent | e895a92c6bebd686074b8a75ac2dfe1dbabfc654 (diff) | |
change id to be distinct from name
TODO: introduce a Node class split from the Graph.
TODO: use a GUID and not just an incrementing number (trivial change).
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index e16fa5e7..53189e0f 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -566,7 +566,7 @@ $('#editform').keypress(function(e) { var element = $('#editname'); var newname = element.val(); var d = element.data().d; - graph.editName(d.id, "xx", newname); + graph.editName(d.id, newname); graph.update(true); return false; } |
