picture: () ->\r
new Pettanr.Picture({id: @get('picture_id')})\r
\r
- panel: () ->\r
- new Pettanr.Panel({id: @get('panel_id')})\r
+ panel: (options = {}) ->\r
+ new Pettanr.Panel({id: @get('panel_id')}, options)\r
\r
@has_picture: () ->\r
true\r
symbol_option: (cb) ->\r
i = @picture()\r
_this = this\r
- i.fetch().done ->\r
+ i.fetch({cache: true}).done ->\r
cb(_this.tmb_opt_img_tag(i))\r
\r
+ element_face: () ->\r
+ new Pettanr.Views.PanelPicture.ElementFace({element: this})\r
+ \r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.PanelPictures extends Backbone.Collection\r
- model: Pettanr.PanelPicture\r
- url: '/panel_pictures/'\r
- \r