From 96eb9bb3fa1d805df967f44d13876f57b8ea121d Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 10 Nov 2006 07:46:41 +0000 Subject: * 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. --- IkiWiki/CGI.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki') 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 { -- cgit v1.2.3