Bug #69417
closedInline Element doesn't open in Internet Explorer
100%
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
Updated by Alexander Opitz about 9 years ago
- Status changed from New to Needs Feedback
Hi Marco,
can you please bring this patch to Gerrit?
The wiki entry http://wiki.typo3.org/CWT may help you.
Updated by Gerrit Code Review about 9 years ago
- 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
Updated by Gerrit Code Review about 9 years ago
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
Updated by Nicole Cordes about 9 years ago
Is there any special element you used? I tried with text/images and all images are opening just fine.
Updated by Marco Dinnbier about 9 years ago
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
Updated by Andreas Allacher about 9 years ago
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?
Updated by Anonymous about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ee6f592254874a3c60ebc8a5789420d07fe96289.