diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-23 16:47:59 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-23 16:47:59 +0200 |
| commit | 8d0cf2e43437696ad407c544cdc5a1723130a936 (patch) | |
| tree | 51f350ac42c7c568f92457d92282b08e31b1eed4 /src/client | |
| parent | 047ca46b3c2ac95bb34227106b40b8b1d1a0bee0 (diff) | |
client: remove annoying confirmation after clicking delete (should be inline if at all, not a confirm dialog)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/rz_core.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js index 0ab227d8..e3bd2b59 100644 --- a/src/client/rz_core.js +++ b/src/client/rz_core.js @@ -727,11 +727,9 @@ 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); + graph.removeNode(d.id); // async update_view__graph(false); view.node_info.hide(); - } }); view.node_info.show(d); |
