OSDN Git Service

fix: views
[pettanr/pettanr.git] / app / assets / javascripts / views / licenses / summary.js.coffee
1 class Pettanr.Views.License.Summary extends Pettanr.View.Summary\r
2   \r
3   initialize: (options) ->\r
4     super(options)\r
5   \r
6   render: () ->\r
7     super()\r
8     @item.get_parent('system_picture', this, {\r
9       success: (@system_picture) =>\r
10         this.$el.html('')\r
11         @img = @system_picture.real_picture()\r
12         this.$el.html(@img.render().el)\r
13     })\r
14     this\r
15   \r