Permalink
Browse files

Fix ambiguity that used to work but shouldn't

  • Loading branch information...
1 parent acb8f76 commit 0047d674391652da82596bd5f7a84c7cb216610e Tomhuda Katzdale committed Jun 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/ember-data/lib/system/model/states.js
@@ -374,7 +374,7 @@ var DirtyState = DS.State.extend({
t.recordBecameClean(dirtyType, record);
});
- manager.goToState('loaded');
+ manager.goToState('saved');
}
}, Uncommitted),
@@ -404,7 +404,7 @@ var DirtyState = DS.State.extend({
t.recordBecameClean('inflight', record);
});
- manager.goToState('loaded');
+ manager.goToState('saved');
manager.send('invokeLifecycleCallbacks', dirtyType);
},

0 comments on commit 0047d67

Please sign in to comment.