remove second parameter to include_javascript

function used to take a second parameter to control absoluteness, no longer
does
master
Joey Hess 2011-01-02 18:31:08 -04:00
parent d245567765
commit 69b9fd132d
1 changed files with 1 additions and 1 deletions

View File

@ -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" &&