]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
websetup: Fix saving of advanced mode changes.
authorJoey Hess <joey@kitenet.net>
Mon, 11 Oct 2010 15:12:41 +0000 (11:12 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 11 Oct 2010 15:12:41 +0000 (11:12 -0400)
The showadvanced field was not known to formbuilder when hitting the save
changes button.

IkiWiki/Plugin/websetup.pm
debian/changelog

index 11b4428e3fc0a55f6637516c56b2dca8a7460163..2674b91e812a3eb8b98edcdb12026d067f34b112 100644 (file)
@@ -295,6 +295,7 @@ sub showform ($$) {
        $form->field(name => "do", type => "hidden", value => "setup",
                force => 1);
        $form->field(name => "rebuild_asked", type => "hidden");
+       $form->field(name => "showadvanced", type => "hidden");
 
        if ($form->submitted eq 'Basic Mode') {
                $form->field(name => "showadvanced", type => "hidden", 
index 53bee5df678faa1ddbcbca578eb4d478e12c714b..fb012abd24bd636071c50a04685dbf9e738fda8e 100644 (file)
@@ -10,6 +10,7 @@ ikiwiki (3.20100927) UNRELEASED; urgency=low
   * Thanks to Peter Gammie for his assistance with the web-based reversion
     feature.
   * actiontabs: More consistent styling of Hn tags.
+  * websetup: Fix saving of advanced mode changes.
 
  -- Joey Hess <joeyh@debian.org>  Wed, 29 Sep 2010 11:58:23 -0400