rebuild not needed

This plugin only affects the page edit, not the compiled wiki.
master
Joey Hess 2009-03-07 14:34:31 -05:00
parent e7d2da5641
commit 029cf94493
1 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@ sub getsetup () {
return return
plugin => { plugin => {
safe => 1, safe => 1,
rebuild => 1,
}, },
} }
@ -30,7 +29,8 @@ sub formbuilder_setup (@) {
return unless (($form->field("do") eq "edit") || return unless (($form->field("do") eq "edit") ||
($form->field("do") eq "create")); ($form->field("do") eq "create"));
$form->tmpl_param("wmd_preview", "<div class=\"wmd-preview\"></div>\n".include_javascript(undef, 1)); $form->tmpl_param("wmd_preview", "<div class=\"wmd-preview\"></div>\n".
include_javascript(undef, 1));
} }
sub include_javascript ($;$) { sub include_javascript ($;$) {
@ -42,4 +42,3 @@ sub include_javascript ($;$) {
} }
1 1