fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-07-25 04:38 am

[dw-free] No way to distinguish between starting and ending cut tag controls

[commit: http://hg.dwscoalition.org/dw-free/rev/93346518c807]

http://bugs.dwscoalition.org/show_bug.cgi?id=3770

Add classes cuttag-action-before, cuttag-action-after for the cuttag expand
arrows (in addition to the current class "cuttag-action")

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.cuttag-ajax.js
--------------------------------------------------------------------------------
diff -r 7be4f91034e7 -r 93346518c807 htdocs/js/jquery.cuttag-ajax.js
--- a/htdocs/js/jquery.cuttag-ajax.js	Mon Jul 25 12:29:13 2011 +0800
+++ b/htdocs/js/jquery.cuttag-ajax.js	Mon Jul 25 12:37:32 2011 +0800
@@ -33,7 +33,7 @@
         var a = $("<a>",{
             href: "#",
             id: "cuttag_" + identifier,
-            "class": "cuttag-action"
+            "class": "cuttag-action cuttag-action-before"
         });
         var img = $("<img>",{
             style: "border: 0;",
@@ -125,7 +125,7 @@
             var closeEnd = $("<span>");
             var a = $("<a>",{
                 href: "#cuttag_" + self.identifier,
-                "class": "cuttag-action"
+                "class": "cuttag-action cuttag-action-after"
             });
             var img = $("<img>",{
                 style: "border: 0;",
--------------------------------------------------------------------------------