Project

General

Profile

Actions

Bug #51971

closed

Make adminpanel "Open TYPO3 Backend" open a new tab instead of a new window

Added by Paul A. Auwehla almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-09-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #50364: AdminPanel: Link called "Open TYPO3 Backend" opens FrontEnd in new windowClosed2013-07-24

Actions
Actions

Also available in: Atom PDF