fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-12-28 01:19 pm

[dw-free] Custom colors not showing up on manage/circle/add

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

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

Fix the quoting on the color picker.

Patch by [personal profile] sophie.

Files modified:
  • htdocs/manage/circle/add.bml
--------------------------------------------------------------------------------
diff -r 40c057a5e15f -r dce155b3e09b htdocs/manage/circle/add.bml
--- a/htdocs/manage/circle/add.bml	Tue Dec 28 21:16:25 2010 +0800
+++ b/htdocs/manage/circle/add.bml	Tue Dec 28 21:19:25 2010 +0800
@@ -287,7 +287,7 @@ _c?>
     my $color_switch_checked = $custom_colors ?  "checked=\"checked\"" : "";
 
     ## let them pick the colors
-    my $color_text = "<?p <table summary=''><tr><td valign=\"top\"><i>$ML{'.optional'}:</i> ".
+    my $color_text = "<?p <table summary=\\'\\'><tr><td valign=\"top\"><i>$ML{'.optional'}:</i> ".
              "<input type=\"checkbox\" id=\"color_switch\" name=\"color_switch\" onClick=\"color_display(this);\" $color_switch_checked> </td><td><label for=\"color_switch\">" .
              BML::ml( '.colors.text', { user => $username } ) .
              "</label><br /><span style=\"font-size: 7pt;\">($ML{'.colors.disclaimer'})</span></td></tr></table> p?>";
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org