BorisMoore/jsviews — pull request #27 by josher19 (2012-01-12 04:56:00+00:00)
Title: Only one Todo item editable at a time

Right now only way to cancel an edit is to change the content and then change it back.

Did a slight enhancement to your Todo Item so that only one is editable at a time.
If you click anywhere else or press the enter key it will restore the view to item-template instead of edit-template.

$( "#todo-list" ).delegate("li.editing", "blur", function(ev) { Todos.contentChanged( $.view(this) ); });