The process widget was catching all keystrokes with meta or ctrl flag and performed an undo. We actually need to test for ctrl-z or meta-z.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@812 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-05-18 02:52:02 +00:00
parent 5d4ce3fee2
commit c9303a884d

View File

@ -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();