Skip to content

Commit

Permalink
fix spine .focus() spec deviation.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Aug 2, 2013
1 parent 0837dc5 commit 612aa37
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
11 changes: 4 additions & 7 deletions architecture-examples/spine/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions architecture-examples/spine/js/controllers/todos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions architecture-examples/spine/js/models/todo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion architecture-examples/spine/src/controllers/todos.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class window.Todos extends Spine.Controller

edit: ->
@el.addClass 'editing'
@editElem.focus()
@editElem.val(@editElem.val()).focus()

finishEdit: ->
@el.removeClass 'editing'
Expand Down

0 comments on commit 612aa37

Please sign in to comment.