OSDN Git Service

add: resource_picture_pictures
[pettanr/pettanr.git] / app / assets / javascripts / models / panel.js.coffee
index 453343b..0884634 100644 (file)
@@ -66,12 +66,10 @@ class Pettanr.Panel extends Peta.Root
     '/' + @path_name() + '/' + @get('id')\r
   \r
   initialize: (attr = {}, options = {}) ->\r
+    super(attr, options)\r
     @set(attr)\r
     if @get('id')\r
       @url = @my_url()\r
-    @bind('change:width', () ->\r
-      console.log('cng')\r
-    )\r
   \r
 class Pettanr.Panel.WithElements extends Pettanr.Panel\r
   \r