Re:Todos: a Backbone.js example Single-Page-App (with LocalS...
by simonista on Tuesday October 26, 2010 @01:10PM
(#1835036)
It looks very nice. One small UI request, you should only be able to edit one existing item at a time, so if you are currently editing one item and you double click another item, the first should be committed.
[ Parent
| on HN ]
Re:Todos: a Backbone.js example Single-Page-App (with LocalS...
by jashkenas on Tuesday October 26, 2010 @01:25PM
(#1835122)
I've updated the app to work that way -- nice idea. Here's the relevant change, for the curious:
http://documentcloud.github.com/backbone/docs/todos.html#sec...
Re:Todos: a Backbone.js example Single-Page-App (with LocalS...
by jeromegn on Tuesday October 26, 2010 @01:13PM
(#1835054)
Ah, that's a good one. I'll add that.
Re:Todos: a Backbone.js example Single-Page-App (with LocalS...
by desigooner on Tuesday October 26, 2010 @01:49PM
(#1835240)
also, while editing, if I double clicked to edit and clicked out for some reason, the changes are not committed yet.
I think the more intuitive way of doing it is adding some sort of a commit-on-click-out feature ..