OSDN Git Service

add cache
[pettanr/pettanr.git] / app / assets / javascripts / views / scroll_panels / summary.js.coffee
index aefd1e4..dfac77b 100644 (file)
@@ -4,13 +4,13 @@ class Pettanr.Views.ScrollPanel.Summary extends Backbone.View
     @item = options.item\r
     _this = this\r
     @scroll = @item.scroll()\r
-    @scroll.fetch().done ->\r
+    @scroll.fetch({cache: true}).done ->\r
       _this.scroll_icon = _this.scroll.icon_view(true)\r
       _this.panel = _this.item.panel()\r
-      _this.panel.fetch().done ->\r
+      _this.panel.fetch({cache: true}).done ->\r
         _this.panel_icon = _this.panel.icon_view(true)\r
         _this.author = _this.scroll.author()\r
-        _this.author.fetch().done ->\r
+        _this.author.fetch({cache: true}).done ->\r
           _this.author_name = _this.author.name_view(12)\r
           _this.render()\r
   \r