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

[dw-free] Make "Presentation" the default tab when customizing

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

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

Make the link to the display options work.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Widget/CustomizeTheme.pm
--------------------------------------------------------------------------------
diff -r 4c5c7fa3f42f -r 7d1ada126323 cgi-bin/LJ/Widget/CustomizeTheme.pm
--- a/cgi-bin/LJ/Widget/CustomizeTheme.pm	Wed Apr 20 21:16:27 2011 +0800
+++ b/cgi-bin/LJ/Widget/CustomizeTheme.pm	Wed Apr 20 22:06:47 2011 +0800
@@ -66,7 +66,7 @@ sub render_body {
     ### Navigation ###
 
     $ret .= "<ul class='customize-nav nostyle' id='customize_theme_nav_links'>";
-    $ret .= "<li" . $nav_class->("display") . "><a class='customize-nav-group' href='$LJ::SITEROOT/customize/options$getextra'>" . $class->ml('widget.customizetheme.nav.display') . "</a>";
+    $ret .= "<li" . $nav_class->("display") . "><a class='customize-nav-group' href='$LJ::SITEROOT/customize/options$getextra${getsep}group=display'>" . $class->ml('widget.customizetheme.nav.display') . "</a>";
     $ret .= "<ul>";
     $ret .= "<li>" . $class->ml('widget.customizetheme.nav.display.moodthemes') . "</li>";
     $ret .= "<li>" . $class->ml('widget.customizetheme.nav.display.navstrip') . "</li>";
--------------------------------------------------------------------------------

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