bugfix: an asset associated to default successor didn't appear in the printout.

cause: the default successor (id=0) is loaded on startup (kind of a fixture)
but it wasn't comitted and therefore the hasMany property wasn't updated when
the asset were saved.
This commit is contained in:
git@daemon.de
2013-09-13 08:09:19 +02:00
parent b8df33061b
commit 81aa7e83e4
4 changed files with 5 additions and 11 deletions

View File

@@ -29,5 +29,6 @@ App.store = DS.Store.createWithMixins({
);
this.loadMany(App.Successor, [{ 'id': 0, 'name': 'My regular legal succesor(s)' }]);
}
this.commit();
}
});