X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmodels%2Fsheet_panel.js.coffee;h=d4c660e3d264820281647becf1fe3d3d2bab2a4f;hb=083cd052b6a10be6ddb3534307176f8c415952a8;hp=00d03fc606661620ea87e4a58473199e05546381;hpb=3f0b76f7b7fddc70ba3badd2a97b2babe9549b79;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/models/sheet_panel.js.coffee b/app/assets/javascripts/models/sheet_panel.js.coffee index 00d03fc6..d4c660e3 100644 --- a/app/assets/javascripts/models/sheet_panel.js.coffee +++ b/app/assets/javascripts/models/sheet_panel.js.coffee @@ -18,10 +18,10 @@ class Pettanr.SheetPanel extends Peta.Leaf } sheet: () -> - new Pettanr.Sheet({id: @get('sheet_id')}) + new Pettanr.Cache.Retriever(Pettanr.Sheet, @get('sheet_id')) panel: () -> - new Pettanr.Panel({id: @get('panel_id')}) + new Pettanr.Cache.Retriever(Pettanr.Panel, @get('panel_id')) initialize: (attr = {}, options = {}) -> super(attr, options)