class Pettanr.GroundPicturesController extends Pettanr.AppController\r
\r
index: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
by_author: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
by_panel: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
show_html: () -> \r
- _this = this\r
- @item.fetch({cache: true}).done ->\r
+ @redraw_title(@params)\r
+ @item.fetch({cache: true}).done =>\r
+ @redraw_title(@params, @item.eget('caption'))\r
view = new Pettanr.Views.GroundPicture.Show({\r
el: "#pettanr",\r
- item: _this.item,\r
- operators: _this.operators\r
+ item: @item,\r
+ operators: @operators\r
})\r
#view.render()\r
\r