Actions
Bug #75420
closedFunction checkReference in ElementBrowser.php is unable to get field in Internet Explorer for new elements
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-04-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
This issue affects content elements that use a section > element > field combination. When adding a new content element the element browser is unable to save the selection and just closes the window. This is the extract from the document source when using IE 11:
function checkReference() { // if (window.opener && window.opener.document && window.opener.document.editform && window.opener.document.editform["data[tt_content][NEW5704b7bd152c56.42149799][pi_flexform][data][optionsSheet][lDEF][slides][el][ID-740b72dddf-idx1459927147151-form][slide][el][linkTarget"] ) { return window.opener.document.editform["data[tt_content][NEW5704b7bd152c56.42149799][pi_flexform][data][optionsSheet][lDEF][slides][el][ID-740b72dddf-idx1459927147151-form][slide][el][linkTarget"]; } else { close(); } }
IE will execute the else block, since window.opener.document.editform["data[tt_content][NEW5704b7bd152c56.42149799][pi_flexform][data][optionsSheet][lDEF][slides][el][ID-740b72dddf-idx1459927147151-form][slide][el]*[linkTarget*"] will evaluate to "undefined".
And this is the extract from Firefox:
function checkReference() { // if (window.opener && window.opener.document && window.opener.document.editform && window.opener.document.editform["data[tt_content][NEW5704b92a942d67.27539784][pi_flexform][data][optionsSheet][lDEF][slides][el][ID-d91e412bb2-idx1459927513523-form][slide][el][linkTarget][vDEF]_hr"] ) { return window.opener.document.editform["data[tt_content][NEW5704b92a942d67.27539784][pi_flexform][data][optionsSheet][lDEF][slides][el][ID-d91e412bb2-idx1459927513523-form][slide][el][linkTarget][vDEF]_hr"]; } else { close(); } }
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
The code referenced does not exist anymore in newer TYPO3 versions.
Actions