From: Joey Hess Date: Sun, 2 Jan 2011 22:31:08 +0000 (-0400) Subject: remove second parameter to include_javascript X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69b9fd132d8774325df3aaac5bdd15d02df5d2b2;p=ikiwiki.git remove second parameter to include_javascript function used to take a second parameter to control absoluteness, no longer does --- diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index bd93d3718..647a671a5 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -92,7 +92,7 @@ sub formbuilder_setup (@) { # Add the toggle javascript; the attachments interface uses # it to toggle visibility. require IkiWiki::Plugin::toggle; - $form->tmpl_param("javascript" => IkiWiki::Plugin::toggle::include_javascript($params{page}, 1)); + $form->tmpl_param("javascript" => IkiWiki::Plugin::toggle::include_javascript($params{page})); # Start with the attachments interface toggled invisible, # but if it was used, keep it open. if ($form->submitted ne "Upload Attachment" &&