[TYPO3-core] RFC #17431 "Show Page" in contextmenu results in new browser window

Simon Schaufelberger schaufelREMOVE-MEberger at punkt.de
Fri Feb 25 09:37:09 CET 2011


Hi,
you can call me Schaufi ;)

is the function openUrlInWindow still in use? i guess not and it is a 
dead function... needs to be checked!!!

Am 25.02.2011 00:46, schrieb Stefan Galinski:
> Simon Schaufelberger (Schaufi) wrote:
>
>> This is an SVN git patch request.
>>
>> Type: Bugfix (nobrainer)
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=17431
>>
>> Branches:
>> TYPO3_4.5.1&  trunk
>>
>> Problem:
>> The link "show page" in the right-click menu of the pagetree is
>> resulting in a new browser window beeing opened up. The "show page"
>> button aside the other buttons in a page detail view is opening up a new
>> tab in the browser.
>>
>> Solution:
>> 1. remove parameters because all browsers open new windows if parameters
>> are set in window.open function
>> 2. change window name to fit the window name in the main area so that
>> the target window is the same
>>
>> Notes:
>> please commit this before Release of T3 4.5.2 ;)
>
> Thanks Simon!
>
> Committed version 3 in:
> rev 10633 (trunk)
> rev 10634 (4.5)
>
> The third version was tested in cooperation with Helmut. It opens in all
> browsers inside a tab now.
>
> Just for the archive: Always open a window outside of an AJAX callback and
> just assign the URL inside the callback. Otherwise Chrome opens the popup
> always inside new windows.
>

-- 
Kind regards,

Schaufi from punkt.de


More information about the TYPO3-team-core mailing list