\r
initialize: (options) ->\r
super(options)\r
- @item = options.item\r
+ \r
+ render: () ->\r
+ super()\r
@item.get_parent('system_picture', this, {\r
success: (@system_picture) =>\r
- @img = new Pettanr.View.Icon(@system_picture.symbol_file())\r
- @trigger('ready')\r
+ this.$el.html('')\r
+ @img = @system_picture.real_picture()\r
+ this.$el.html(@img.render().el)\r
})\r
- \r
- render: () ->\r
- this.$el.html('')\r
- this.$el.html(@img.render().el)\r
this\r
\r