diff options
| author | Alon Levy <alon@pobox.com> | 2014-09-28 21:29:15 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-28 21:29:15 +0300 |
| commit | 39f13e5e9b66fc1aaae6db6c922f6434681cc056 (patch) | |
| tree | ca6e64c96b372e84ac57edcc426e4fefa9edcd18 /scripts | |
| parent | cd7157955d15802f34dee6ac4578ae249f3e397d (diff) | |
rhizicore: add TODO note to handle escape key
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 bb4c4a7a..059de98c 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -981,6 +981,7 @@ function editLink(d, i) { $('.editlinkinfo').css('left', dx - 18); $('#editlinkname').val(oldname); + // TODO: handle escape as well to quit without changes (enter does submit) $('#editlinkform').submit(function() { graph.editLink(d.source.id, d.target.id, $('#editlinkname').val()); $('.editlinkinfo').css('top', -100); |
