OSDN Git Service

fix event names
[pettanr/pettanr.git] / app / assets / javascripts / locmare / profiler / association / has_many.js.coffee
index d2475a1..919a74a 100644 (file)
@@ -18,6 +18,7 @@ class Locmare.ProfilerModule.AssociationModule.HasMany extends Backbone.View
         pager: @pager, \r
         operators: @profiler().operators\r
       })\r
+      @listenTo(@filer, 'http_get', @http_get)\r
       @render()\r
     )\r
   \r
@@ -33,4 +34,7 @@ class Locmare.ProfilerModule.AssociationModule.HasMany extends Backbone.View
   \r
   profiler: () ->\r
     @association.profiler\r
+  \r
+  http_get: (url) ->\r
+    @trigger('http_get', url)\r
  \r