http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692011-02-03T16:45:28ZTYPO3 ForgeTYPO3 Core - Bug #24916: "Show Page" in contextmenu results in new browser windowhttp://forge.typo3.org/issues/24916?journal_id=607982011-02-03T16:45:28ZSven Juergens
<ul></ul><p>hi Christian,</p>
<p>i had the same "problem", can you test the attached patch ? "Show Page" should now open again in a tab, not a new window.</p>
<p>After adding patch you must clean your browser cache.</p> TYPO3 Core - Bug #24916: "Show Page" in contextmenu results in new browser windowhttp://forge.typo3.org/issues/24916?journal_id=607992011-02-04T09:28:17ZChristian Nöllechristian.noelle@typo3.org
<ul></ul><p>I will check that out later on.</p> TYPO3 Core - Bug #24916: "Show Page" in contextmenu results in new browser windowhttp://forge.typo3.org/issues/24916?journal_id=608002011-02-04T10:33:49ZChristian Nöllechristian.noelle@typo3.org
<ul></ul><p>Looks good. Is working for me.</p> TYPO3 Core - Bug #24916: "Show Page" in contextmenu results in new browser windowhttp://forge.typo3.org/issues/24916?journal_id=608012011-02-11T23:12:49ZSimon Schaufelberger
<ul></ul><p>I was digging a bit deeper into this issue and found out that the problem is this function:<br />function openUrlInWindow(url,windowName) { //<br /> regularWindow = window.open(<br /> url,<br /> windowName,<br /> "status=1,menubar=1,resizable=1,location=1,directories=0,scrollbars=1,toolbar=1");<br /> regularWindow.focus();<br /> return false;<br />}</p>
<p>in typo3/js/backend.js</p>
<p>As long as there are no third parameters in window.open, everything works well but in this case all typical browsers open another window.</p>
<p>The second thing is that the target window name is not the same in pagetree as in the main content window.</p>
<p>right now we have: "typo3ContextMenuView" but in the main window we have "newTYPO3frontendWindow". This results into 2 independent windows/tabs.</p>
<p>The possibilities: remove the parameters from the function above and rename typo3ContextMenuView to newTYPO3frontendWindow or use the patch and change the window names there.</p> TYPO3 Core - Bug #24916: "Show Page" in contextmenu results in new browser windowhttp://forge.typo3.org/issues/24916?journal_id=608022011-02-25T00:42:23ZStefan Galinskistefan.galinski@gmail.com
<ul></ul><p>Committed in:<br />rev 10633 (trunk)<br />rev 10634 (4.5)</p>