OSDN Git Service

fix: any
[pettanr/pettanr.git] / app / assets / javascripts / models / license.js.coffee
index 44998c1..9f734b5 100644 (file)
@@ -20,6 +20,8 @@ class Pettanr.License extends Peta.SystemResource
       success: (license_group) => \r
         caption = license_group.escape('caption') + '/' + @escape('caption')\r
         options.success.call(context, caption)\r
+      fail: (response, opt) =>\r
+        options.fail.call(context, response, opt)\r
     })\r
   \r
   is_own: () ->\r