OSDN Git Service

fix filer
[pettanr/pettanr.git] / app / assets / javascripts / models / speech_balloon_template.js.coffee
index 55dafaf..d85de45 100644 (file)
@@ -14,8 +14,10 @@ class Pettanr.SpeechBalloonTemplate extends Peta.Template
   system_picture: () ->\r
     new Pettanr.SystemPicture({id: @get('system_picture_id')})\r
   \r
-  symbol_option: () ->\r
-    @system_picture()\r
+  symbol_option: (cb) ->\r
+    i = @system_picture()\r
+    i.fetch().done ->\r
+      cb(i.tmb_opt_img_tag())\r
   \r
   initialize: () ->\r
     if @id\r