Bug #51971
closedMake adminpanel "Open TYPO3 Backend" open a new tab instead of a new window
0%
Description
"Open TYPO3 Backend" in the admin panel opens a new window, which is bad.
typo3 6.1.5:
AdminPanel still opens the Backend into a NEW window with this from
around Line 445 in /typo3/sysext/frontend/Classes/View/AdminPanelView.php:
vHWin=window.open(\'' . TYPO3_mainDir . \TYPO3\CMS\Backend\Utility\BackendUtility::getBackendScript('backend') . '\',\'' . md5(('Typo3Backend-' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'])) . '\',\'status=1,menubar=1,scrollbars=1,resizable=1\');
These new windows are making the work with typo3 too complicated for users and admins.
typo3 was never opening new windows, it is opening new tabs!
To have adminpanel do things like typo3 normally does please use this code:
vHWin=window.open(\'' . TYPO3_mainDir . \TYPO3\CMS\Backend\Utility\BackendUtility::getBackendScript('backend') . '\',\'' . md5(('Typo3Backend-' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'])) . '\');
The above works ans is opening new tabs as expected for the typo3-backend.
I tested with IE, FF, Opera and Chrome - all of these where fine.
Updated by Chris topher almost 11 years ago
- Subject changed from Please fix the bug of the adminpanel opening new windows with "Open TYPO3 Backend" to Make adminpanel "Open TYPO3 Backend" open a new tab instead of a new window