From c6de8d1e30ad361f8fcb64316f793a768e3c4e7f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 14 Dec 2012 22:21:11 +0100 Subject: [PATCH] Store full object. --- app/assets/javascripts/app/lib/app_post/collection.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/collection.js.coffee b/app/assets/javascripts/app/lib/app_post/collection.js.coffee index b3d9fd2ad..a509912e2 100644 --- a/app/assets/javascripts/app/lib/app_post/collection.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/collection.js.coffee @@ -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 )