From c87dab2c667d827bf8f8462e4427b79eff7919fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 12 Nov 2010 01:54:29 -0400 Subject: [PATCH] websetup: Fix saving of advanced mode changes. The showadvanced field was not known to formbuilder when hitting the save changes button. (cherry picked from commit 274219ecc865f9bdcb65ad26e4750fa90dfaa670) Conflicts: debian/changelog --- IkiWiki/Plugin/websetup.pm | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) 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 425b4a1bb..4f0eda9d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ ikiwiki (3.20100815.2) UNRELEASED; urgency=low * external: Disable RPC::XML's "smart" encoding, which sent ints for strings that contained only a number, fixing a longstanding crash of the rst plugin. + * websetup: Fix saving of advanced mode changes. -- Joey Hess Sun, 15 Aug 2010 11:42:55 -0400 -- 2.39.2