#20868click-enlarge function for images does not work correctly in IE8
Description
The popup-window generated by the click-enlarge function produces an IE-Error stating that a function was blocked. This function is the submitted javascript-code for closing the popup window. This code is then destroyed by the IE, obviously to prevent XSS-Hacks.
Same problem with Typo3 4.1.10.
I think, it´s not a bug in IE8. Typo3 should not pass javascript-code via url parameters.
A workaround is to disable the “window.close”-function for the IE8-Browser via TS:
### IE8 Bugfix ClickEnlarge-function ###
[browser = msie] && [useragent = Trident/4.0]
plugin.tt_news.displaySingle.image.imageLinkWrap.wrap = |
tt_content.image.20.1.imageLinkWrap.wrap = |
[end]
A better solution is to fix the core-file typo3/sysext/cms/tslib/showpic.php
There the window-close function could be implemented in the body-tag of the output html code for the popup:
<body bgcolor="white" onclick="window.close();"><br>(issue imported from #M11695)</body>
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.