aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-02 18:31:08 -0400
committerJoey Hess <joey@kitenet.net>2011-01-02 18:33:05 -0400
commit69b9fd132d8774325df3aaac5bdd15d02df5d2b2 (patch)
tree867293e71b834ee6c26a35e13706888c039c4a96 /IkiWiki
parentd245567765f54ccebd9e44a9592014989d034871 (diff)
downloadikiwiki-69b9fd132d8774325df3aaac5bdd15d02df5d2b2.tar
ikiwiki-69b9fd132d8774325df3aaac5bdd15d02df5d2b2.tar.gz
remove second parameter to include_javascript
function used to take a second parameter to control absoluteness, no longer does
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
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" &&