OSDN Git Service

fix:panel elm play
[pettanr/pettanr.git] / app / assets / javascripts / views / speeches / show.js.coffee
index 5e5ca4c..7b6d5f9 100644 (file)
@@ -9,9 +9,9 @@ class Pettanr.Views.Speech.Show extends Pettanr.View.Show
       success: (@speech_balloon) =>\r
         @speech_balloon.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