Issue Bug Closed

#20713$altUrl parameter has no effect in t3lib_BEfunc::viewOnClick()

Fabrizio Branca 07/03/09, 16:15 updated 08/06/10, 13:31

Description

Problem:
In Revision 4482 (for bug #19628) the internal structure of the method t3lib_BEfunc::viewOnClick() was changed. The main thing is, that this method returns two urls (for workspace preview enabled and disabled) at the same time and let javscript decide which url to us to open a new window.
The method has an optional fifth parameter “altUrl” that was used as url before instead of the url(s) generated inside the method. But this parameter will not be used anymore.

Solution:
Set both urls (workspace preview enabled and disabled) to the altUrl.

(issue imported from #M11468)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.