]> sipb.mit.edu Git - ikiwiki.git/commit
fix removal of helf attachments
authorJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 18:44:20 +0000 (14:44 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 18:44:20 +0000 (14:44 -0400)
commit04b2a4d6762b33a199b18de4df3991ecba87db7d
tree7a0c265e488eb9b8c6ab0e9bfe095b676b859e06
parentc55a32d3e18e5ed72be0dd74461f33ee5e39ef12
fix removal of helf attachments

Left out confirmation of removal for held attachments because
a) they're not in the wiki yet, so confirmation is a bit unnecessary
b) it would be hard
c) eases later integration of jquery file upload interface

Also changed where attachments of index are held (to match where they're
stored in the srcdir).

Note that the attachment formbuilder hook was made to run last, so that
the list of attachments is not generated before removal, in the fast path
w/o confirm.
IkiWiki/Plugin/attachment.pm
IkiWiki/Plugin/remove.pm