Project

General

Profile

Actions

Bug #22136

closed

Popup-functionality for Pages using target field don't work in IE

Added by Dirk Eidam about 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-02-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I use the target field for pages to open a popup-window, the IE (all versions) opens a wrong URL (e.g. http://domain.de/en/page1/page1_1/en/page1/page1_1/). I think the problem in TYPO3 is that no baseurl is prepended the url.

If I replace the line 1276 in the file "class.tslib_menu.php"
$onClick = 'vHWin=window.open(\'' . $LD['totalURL'] . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
with
$onClick = 'vHWin=window.open(\'' . $GLOBALS['TSFE']->baseUrlWrap($LD['totalURL']) . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
all works fine.

I have found this solution in the file "class.tslib_content.php" on line 6205. In this file baseUrlWrap() is used to wrap the url.

It seems, that this IE problem was already reported to Microsoft, but unfortunately, not fixed yet.
http://connect.microsoft.com/VisualStudio/feedback/details/449388/base-href-is-ignored-for-shortcut-icon-window-open-and-window-location-href

(issue imported from #M13575)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #19625: Popup-functionality for Pages using target fieldClosedSteffen Kamper2008-11-21

Actions
Related to TYPO3 Core - Bug #22293: Popup in HMENU creates invalid URL in IEClosed2010-03-18

Actions
Actions

Also available in: Atom PDF