From 3d47fdfa2ff4b627084206fd83441d8a3873d075 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 2 Nov 2014 18:35:07 +0200 Subject: 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). --- scripts/rhizicore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/rhizicore.js') 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; } -- cgit v1.3.1