Commit c0762487 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Enyo-backbone: auto focus on `#new-item`

Ref #1029
parent a2259093
/*jshint strict:false */
/*jshint strict:false */
/*global enyo:false, ENTER_KEY:false */
// Header section for adding a new task.
enyo.kind({
......@@ -18,6 +18,9 @@ enyo.kind({
kind: 'enyo.Input',
id: 'new-todo',
placeholder: 'What needs to be done?',
attributes: {
autofocus: 'autofocus'
},
handlers: {
onkeypress: 'saveNew'
},
......
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