How do I know when a transaction failure has completed?
var obj = App.store.findAll(App.Todo).get('firstObject'); var t = App.store.transaction(); t.add(obj); obj.set('summary','New Summary'); t.commit();
Use case: I want the user to see that his action (saving the object) failed.
g00fy source share