aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-22 18:31:52 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-22 18:31:52 +0000
commitf9f38ae31c239ce2f44ea0ed2984295aac09ead3 (patch)
tree0c954a83a9f2f2b077f7ded3d50b6bc484f49d91 /IkiWiki/CGI.pm
parent811b8726dbd6e274f969738c4e19f0b3dc3dae92 (diff)
downloadikiwiki-f9f38ae31c239ce2f44ea0ed2984295aac09ead3.tar
ikiwiki-f9f38ae31c239ce2f44ea0ed2984295aac09ead3.tar.gz
* Save index after previewing page edit, since even previewing can create
files in some situations, and this is appropriate in some cases, such as the teximg plugin's error log file. Such files will be automatically cleaned up at an appopriate later time.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r--IkiWiki/CGI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index c785e31de..155010a97 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -506,6 +506,7 @@ sub cgi_editpage ($$) { #{{{
}
showform($form, \@buttons, $session, $q);
+ saveindex();
}
else {
# save page