[TYPO3-core] RFC #17431 "Show Page" in contextmenu results in new browser window
Stefan Galinski
sgalinski at df.eu
Fri Feb 25 00:46:38 CET 2011
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.
--
Stefan Galinski
staatl. geprüfter Informatiktechniker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17431.diff
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110225/720c82d0/attachment.bin>
More information about the TYPO3-team-core
mailing list