Commit dcc1830f authored by addyosmani's avatar addyosmani

Fixes #180: Unable to edit todo item, works for enter.

parent 527af74e
...@@ -69,7 +69,7 @@ Ext.define('Todo.controller.Tasks', { ...@@ -69,7 +69,7 @@ Ext.define('Todo.controller.Tasks', {
store.sync(); store.sync();
}, },
onTaskEditKeyup: function (keyEvent, record, extEl) { onTaskEditKeyup: function (event, record, extEl) {
var ENTER_KEY_CODE = 13; var ENTER_KEY_CODE = 13;
if (event.keyCode === ENTER_KEY_CODE) { if (event.keyCode === ENTER_KEY_CODE) {
this.finalizeTaskEdit(extEl, record); this.finalizeTaskEdit(extEl, record);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment