Closed kbjorklid closed 9 years ago
@kbjorklid thanks! this was a mistake on my end, the code should be
var article = this.get('article');
if (article.get('isDirty') && !article.get('isSaving')) {
Ember.run.once(this, this.autoSave);
}
This will be fixed in the next release :)
On page 112 of the newest version's PDF there is a code snippet with the following content:
I believe this should be a copy of how that function was previously written, but it is considerably different from its previous form, on page 74: