From 39f13e5e9b66fc1aaae6db6c922f6434681cc056 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 28 Sep 2014 21:29:15 +0300 Subject: rhizicore: add TODO note to handle escape key --- scripts/rhizicore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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); -- cgit v1.3.1