diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-12-07 18:12:52 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-16 10:59:14 +0200 |
| commit | 4b38cbc3f7ed1a3e4f9da70a2926f7772da8a7c5 (patch) | |
| tree | 1a9374ce8ac3a3d8dee32a206f204e6f876f1e89 /src/rz_core.js | |
| parent | ba8a541719e1f44d2cce33bb8850c52657159087 (diff) | |
removeNode(): rm unsued state param,
swith to find_node__by_id() use
Diffstat (limited to 'src/rz_core.js')
| -rw-r--r-- | src/rz_core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rz_core.js b/src/rz_core.js index 7114816c..06a6a619 100644 --- a/src/rz_core.js +++ b/src/rz_core.js @@ -722,7 +722,7 @@ function showNodeInfo(d, i) { }); view.node_info.on_delete(function() { if (confirm('This node and all its connections will be deleted, are you sure?')) { - graph.removeNode(d.id, null); + graph.removeNode(d.id); update_view__graph(false); view.node_info.hide(); } |
