show_html: () -> \r
@item = @item.with_elements() # retake panel for 'with_elements' mode\r
@item.fetch({cache: true}).done =>\r
- @item.replace_elements()\r
+ @item.attributes = @item.replaced_attributes()\r
@trigger('title', @params, @item.get('caption'))\r
show = new Pettanr.Views.Panel.Show({\r
panel: @item,\r
panel = new Pettanr.Panel({id: @params['id']})\r
@item = panel.with_elements()\r
@item.fetch({cache: false}).done =>\r
- @item.replace_elements()\r
+ @item.attributes = @item.replaced_attributes()\r
@editor(@item.edit_url())\r
@trigger('done', @params)\r
\r