Bug #69417
closed
Inline Element doesn't open in Internet Explorer
Added by Marco Dinnbier about 9 years ago.
Updated about 6 years ago.
Category:
Backend User Interface
Description
I've recognized an issue in Internet Explorer 11. An already existing inline element doesn't open. The console shows the error 'Object doesn't support property or method 'remove'.
The problem is on line 542 in typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js
Instead this
$formObj[0].remove();
$valueObj[0].remove();
we must use this, to operate on Jquery Objects
$formObj.eq(0).remove();
$valueObj.eq(0).remove();
because IE doesn't support the native Javascript Method 'remove' at the moment
Files
- Status changed from New to Needs Feedback
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42972
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42972
Is there any special element you used? I tried with text/images and all images are opening just fine.
Nicole Cordes wrote:
Is there any special element you used? I tried with text/images and all images are opening just fine.
I use fluidcontent elements, maybe the behavior is related to this. It happens also on text/images and images in Internet Explorer 11.
Steps to reproduce:
1. Create an inline element
2. Save and exit content element
3. Edit content element
4. Try to open inline element
- Assignee set to Marco Dinnbier
I can verifiy the issue in IE11 on TYPO3 7.4.0 and the code change above (or the slightly modified at review.typo3.org) definitely fixes it.
Maybe another factor is that the inline element has to be opened/loaded via ajax?
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF