Author: mitchell_neill
Description:
Result of clikcing on Upload button
Hi.
I am using a multiple instance template that has an uploadable field for a picture:
{{{for template|Page Item|multiple|add button text=Add a Page Item}}}
{|class="item"
!Headline
{{{field | Headline | size=60}}} |
- | ||
!Text
{{{field|Text|input type=textarea|rows=8|cols=60}}}
- |
! Picture:
{{{field | Picture Item | uploadable | size=60}}} |
} | |||
{{{end template}}}
If I have a single instance on a page then the upload dialog pops up normally, you choose the file, click upload and the dialog exits normally.
However, if I have >1 instance of the template on a page, the upload dialog pops up, you choose the file, click upload but then the dialog goes white and stays open (screenshot attached). The actual file is uploaded though.
In Firebug I see the following error:
parent.document.getElementById("input_6") is null
parent.document.getElementById("inpu...e = 'Charity_Fundraiser.jpg';
http://www.prescientsoftware.co.uk/vermont/index.php/Special:UploadWindow
Line 2
I'm running SF 2.2.1, MW 1.5.6 and MW 1.16.5.
Any ideas?
Thanks.
Version: unspecified
Severity: normal
Attached: