[TYPO3-dam-devel] RDC #15099: Bugfix: "Reference to main window is not set properly" after selecting an uploaded file in RTE link dialogue

Dan Osipov dosipov at phillyburbs.com
Sat Aug 21 23:29:58 CEST 2010


+1 by testing

On 7/27/10 4:20 AM, Ulrich Lorenz PHZ Luzern wrote:
> Hello everyone!
>
> This is SVN patch request.
>
> Type: bugfix/usability improvement
>
> BT reference: http://bugs.typo3.org/view.php?id=15099
>
> Branches: trunk/1.1 branch (Dan has to decide)
>
> Problem:
> When calling the link dialogue from RTE and uploading a file, RTE throws
> JavaScript-Error "Reference to main window is not set properly" when
> clicking a file directly after uploading in the upload tab (click the +
> icon). So editors need to go to the media tab, find the uploaded file
> there and then click it. This is too time-consuming.
>
> Solution:
> With the patch the upload module checks if it's being called from the
> RTE (GET-Parameter mode=rte). If so, the + (Add to list) and "Add all to
> list" links are removed from the "Uploaded files" table, but the
> filename is linked and thus allows setting a link.
> See: http://bugs.typo3.org/file_download.php?file_id=12369&type=bug
> This behavior is consistent with the media tab where you also set a link
> by clicking the filename.
>
> Notes:
> I will provide another patch (and a new RFC) that limits the upload tab
> to one file only if it is called from RTE. There is no sense in
> uploading 5 files at a time when you can only link 1 file afterwards.
>
>
>
> Best regards,
>
>
> Lorenz

-- 
Dan Osipov
http://danosipov.com/blog


More information about the TYPO3-team-dam mailing list