system_picture: () ->\r
new Pettanr.SystemPicture({id: @get('system_picture_id')})\r
\r
- symbol_option: (cb) ->\r
+ symbol_option: () ->\r
i = @system_picture()\r
- i.fetch().done ->\r
- cb(i.tmb_opt_img_tag())\r
+ i.fetch({cache: true}).done =>\r
+ @symbol_picture = i.tmb_opt_img_tag()\r
+ @trigger('ready:symbol')\r
\r
parsed_settings: () ->\r
JSON.parse(@get('settings'))\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.SpeechBalloonTemplate.Collection extends Backbone.Collection\r
- model: Pettanr.SpeechBalloonTemplate\r
- url: '/speech_balloon_templates'\r