diff --git a/src/main/webapp/scripts/widgets/process-widget.js b/src/main/webapp/scripts/widgets/process-widget.js index fbe5905e9..5317c1321 100644 --- a/src/main/webapp/scripts/widgets/process-widget.js +++ b/src/main/webapp/scripts/widgets/process-widget.js @@ -9,7 +9,7 @@ function ProcessWidget(div) { var self = this; $(window).keypress(function(evt) { - if (evt.ctrlKey || evt.metaKey) { + if (evt.charCode == 26 || (evt.charCode == 122 && (evt.ctrlKey || evt.metaKey))) { // ctrl-z or meta-z var t = evt.target; if (t) { var tagName = t.tagName.toLowerCase();