diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-10 07:46:41 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-10 07:46:41 +0000 |
commit | 96eb9bb3fa1d805df967f44d13876f57b8ea121d (patch) | |
tree | 4e884eab9705030a654d874da06cd942f79a0917 /IkiWiki | |
parent | 54c90b2d41488657c583e657b16e363c9eb999fa (diff) | |
download | ikiwiki-96eb9bb3fa1d805df967f44d13876f57b8ea121d.tar ikiwiki-96eb9bb3fa1d805df967f44d13876f57b8ea121d.tar.gz |
* Work around a strange bug in CGI::FormBuilder 3.0401 that makes
FORM-SUBMIT unusable on customised formbuilder templates. For now,
hardcode the submit buttons in editpage.tmpl instead of using the
template variable, which is ok, since the buttons are static.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 6b5a1e130..59e9ce161 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -582,6 +582,7 @@ sub cgi_editpage ($$) { #{{{ $form->title("editing ".pagetitle($page)); } + print "Content-Type: text/html\n\n"; print $form->render(submit => \@buttons); } else { |