Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ambiguity that used to work but shouldn't

  • Loading branch information...
commit 0047d674391652da82596bd5f7a84c7cb216610e 1 parent acb8f76
Tomhuda Katzdale authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/ember-data/lib/system/model/states.js
View
4 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);
},
Please sign in to comment.
Something went wrong with that request. Please try again.