[TYPO3-core] RFC: Fix bug #1153 again: Adding parameters is not always expected

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu May 11 15:25:33 CEST 2006


Michael Stucki schrieb:
> This is a CVS patch request.
> 
> Problem:
> In bug #1153 I did add the parameters of the showpic.php script to the 
> alternative script if set by "JSwindow.altUrl". This works as expected, but 
> users have asked to prevent this behaviour because they construct the 
> parameters using a postUser function for example.
> 
> Solution:
> We need a new property to prevent addition of the parameters.

This patch reverts to the old bahaviour, but adds 
JSwindow.altUrlAppendDefParams.

Note that & is used to append the query. This means you have to add a ? to 
the URL yourself. OTOH you may now have a set of custom params additional 
to the the default set.

Masi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tslib_content-addParams.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060511/df4e7611/attachment.diff 


More information about the TYPO3-team-core mailing list