Store full object.

This commit is contained in:
Martin Edenhofer 2012-12-14 22:21:11 +01:00
parent e6c4aa5120
commit c6de8d1e30

View file

@ -173,7 +173,7 @@ class _Singleton extends Spine.Module
data = App.Collection.find( type, id )
# load update to local storage
col.load( localStorage: false, type: type, data: record, refresh: true )
col.load( localStorage: false, type: type, data: [ data ], refresh: true )
callback( data )