Store full object.
This commit is contained in:
parent
e6c4aa5120
commit
c6de8d1e30
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class _Singleton extends Spine.Module
|
||||||
data = App.Collection.find( type, id )
|
data = App.Collection.find( type, id )
|
||||||
|
|
||||||
# load update to local storage
|
# 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 )
|
callback( data )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue