OSDN Git Service

fix:panel elm play
[pettanr/pettanr.git] / app / assets / javascripts / views / speech_balloons / show.js.coffee
index 7cb05c2..5aa6147 100644 (file)
@@ -7,9 +7,9 @@ class Pettanr.Views.SpeechBalloon.Show extends Pettanr.View.Show
     this.$el.html('')\r
     @item.get_parent('panel', this, {\r
       success: (item) =>\r
-        @panel = item.with_elements()\r
+        @panel = item.play()\r
         @panel.fetch().done =>\r
-          @panel.attributes = @panel.replaced_attributes()\r
+          @panel.attributes = @panel.decoded_attributes()\r
           @authored_by = @panel.authored_by()\r
           @body = new Pettanr.Views.Panel.Body({\r
             panel: @panel,\r