summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-07 18:07:11 +0200
committerAlon Levy <alon@pobox.com>2014-12-07 22:09:21 +0200
commit4f7e100e5c6e6769176b13914e5375e57d04038c (patch)
treec5e63780718ba45abebcf0e798b075f050db4192
parent4fe0cdc072c30c816101e8879abde204702e314f (diff)
ctrl-Z handler, does nothing (sort of a reminder)
-rw-r--r--src/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js
index 070f3cb5..14bdf10e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -38,6 +38,9 @@ function(textanalysis_ui, textanalysis, buttons, history, drag_n_drop,
if (e.altKey && e.ctrlKey && key == 'o') {
$('#search').focus();
}
+ if (e.ctrlKey && key == 'z' && e.target.nodeName !== 'INPUT') {
+ // TODO: rz_core.graph.undo();
+ }
};
// TODO: move me somewhere
$('#search').on('input', function(e) {