Project

General

Profile

Actions

Bug #22293

closed

Popup in HMENU creates invalid URL in IE

Added by Simon Schick over 14 years ago. Updated over 11 years ago.

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

0%

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

Description

In my menu one page is opened in a popup. It works perfect in all browsers excepted by the InternetExplorer-family

Problem: I work with RealURL and my baseURL is like this: http://www.customer.com
One page in my HMENU is generated to open in a popup. His a-tag looks like this:
<a href="testpopup.html" onclick="vHWin=window.open('testpopup.html','FEopenLink','width=1024,height=768');vHWin.focus();return false;" onfocus="blurLink(this);" >TestPopup</a>
I've currently opened the following page: http://www.customer.com/mytest/mypage.html
If I click on this popuplink now he tries to open this url: http://www.customer.com/mytest/testpopup.html

Solution: Change the PHP-Code so he allways writes the baseURL before links which are called by javascript:window.open()

If you've supplied the patch I've attached he'll generate the following a-tag:
<a href="testpopup.html" onclick="vHWin=window.open('http://www.customer.com/testpopup.html&#039;,&#039;FEopenLink&#039;,&#039;width=1024,height=768&#039;);vHWin.focus();return false;" onfocus="blurLink(this);" >TestPopup</a>

TYPO3 v4.3.2
(issue imported from #M13854)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22136: Popup-functionality for Pages using target field don't work in IEClosedAlexander Opitz2010-02-18

Actions
Actions

Also available in: Atom PDF