OSDN Git Service

fixed to insert json for 'settings'.
authoritozyun <itozyun@user.sourceforge.jp>
Sun, 17 Mar 2013 13:16:42 +0000 (22:16 +0900)
committeritozyun <itozyun@user.sourceforge.jp>
Sun, 17 Mar 2013 13:16:42 +0000 (22:16 +0900)
app/assets/javascripts/peta-apps.js

index 11aa110..69992ea 100644 (file)
@@ -5150,7 +5150,7 @@ var Model = ( function(){
                                        '"classname": "Square",',
                                        '"z": ',                _textElement.z + 1, ',', cr,
                                        '"t": ',                t, ',', cr,
-                                       '"settings": {"tail":' + _textElement.a + '},',
+                                       '"settings": "{\'tail\':' + _textElement.a + '}",',
                            '"balloons_attributes": {', cr,
                                '"newb', t, '": {', cr,
                                                        '"system_picture_id": ',  2, ',', cr,