diff options
| author | Alon Levy <alon@pobox.com> | 2014-09-21 16:39:25 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-21 16:39:26 +0300 |
| commit | d65d2252f3fb66c3a0ed2a9b2eb9868d467fe533 (patch) | |
| tree | 7d2def218be527ec2754dbba93944442dbf9ed7d /scripts | |
| parent | 91d4155f0460a81e01b7a38df09afbff9af50b33 (diff) | |
rhizicore.js: Fix autosuggest on load
Auto suggest doesn't work for nodes loaded from local storage
Fixes #60
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rhizicore.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 720a3212..2d75e798 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -421,6 +421,7 @@ function myGraph(el) { for(var i=0; i<data["nodes"].length; i++){ var node=data.nodes[i]; graph.addNodeComplete(node.id,node.type,"perm",new Date(node.start),new Date(node.end),node.status); + autoSuggestAddName(node.id); } for(var j=0; j<data["links"].length; j++){ |
