aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-11 11:12:41 -0400
committerJoey Hess <joey@kitenet.net>2010-10-11 11:12:41 -0400
commit274219ecc865f9bdcb65ad26e4750fa90dfaa670 (patch)
tree3cfeea40326279cc4cdc8b0ff3f8a1068a416515
parent2c0d2799b752c81c4fe45d569d1931157ef947ec (diff)
downloadikiwiki-274219ecc865f9bdcb65ad26e4750fa90dfaa670.tar
ikiwiki-274219ecc865f9bdcb65ad26e4750fa90dfaa670.tar.gz
websetup: Fix saving of advanced mode changes.
The showadvanced field was not known to formbuilder when hitting the save changes button.
-rw-r--r--IkiWiki/Plugin/websetup.pm1
-rw-r--r--debian/changelog1
2 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/websetup.pm b/IkiWiki/Plugin/websetup.pm
index 11b4428e3..2674b91e8 100644
--- a/IkiWiki/Plugin/websetup.pm
+++ b/IkiWiki/Plugin/websetup.pm
@@ -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",
diff --git a/debian/changelog b/debian/changelog
index 53bee5df6..fb012abd2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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