diff --git a/jquery.sheet.js b/jquery.sheet.js index 3b2a4c4..c1fc60f 100644 --- a/jquery.sheet.js +++ b/jquery.sheet.js @@ -3671,14 +3671,15 @@ jQuery = jQuery || window.jQuery; break; case key.ESCAPE: jS.evt.cellEditAbandon(); + return true; break; case key.ENTER: jS.evt.cellSetActiveFromKeyCode(e, true); return false; break; - default: - jS.cellLast.isEdit = true; } + + jS.cellLast.isEdit = true; }, /**