OSDN Git Service

fix js filer folder
[pettanr/pettanr.git] / app / assets / javascripts / local_manifest / filer / caption / default / link / action.js.coffee
index f3147d2..6633cfa 100644 (file)
@@ -15,3 +15,10 @@ class LocalManifest.FilerModule.CaptionModule.DefaultModule.LinkModule.ActionLin
       @action_name + '/'\r
     '/' + this.filer().item_class.path_name() + '/' + a\r
   \r
+  js_action_path: () ->\r
+    a = if @action_name == 'show'\r
+      ''\r
+    else\r
+      @action_name + '/'\r
+    this.filer().item_class.path_name() + '/' + a\r
+  \r