xwiki/xwiki-enterprise — pull request #20 by jamiemaher (2012-05-11 17:27:53+00:00)
Title: Add target attachment document support to XWiki.AttachmentSelector macro

Hello, this is a pull request for the following improvement added to the JIRA:

http://jira.xwiki.org/browse/XE-1169

I've tested it against XE 3.5 and it works nicely with a target attachment document, or defaults back to the current document and works like it used to if the targetdocname macro parameter is not set.

Feel free to include this under any license.

Jamie