diff options
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/websetup.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/websetup.pm b/IkiWiki/Plugin/websetup.pm index 75950e7f1..2a5e27bf9 100644 --- a/IkiWiki/Plugin/websetup.pm +++ b/IkiWiki/Plugin/websetup.pm @@ -404,10 +404,14 @@ sub showform ($$) { #{{{ # TODO save to real path IkiWiki::Setup::dump("/tmp/s"); $form->text(gettext("Setup saved.")); - + if ($form->submitted eq 'Rebuild Wiki') { # TODO rebuild } + else { + # TODO refresh wiki and wrappers + } + } } |