Bug #69417

Inline Element doesn't open in Internet Explorer

Added by Marco Dinnbier about 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend User Interface
Target version:
-
Start date:
2015-08-31
Due date:
% Done:

100%

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

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

fix_jsfunc.inline.js.patch (942 Bytes) fix_jsfunc.inline.js.patch Marco Dinnbier, 2015-08-31 00:31
method_remove_not _supported.PNG (34.6 KB) method_remove_not _supported.PNG Debugger IE11 Marco Dinnbier, 2015-09-03 19:42
#1

Updated by Alexander Opitz about 6 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.

#2

Updated by Gerrit Code Review about 6 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

#3

Updated by Gerrit Code Review about 6 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

#4

Updated by Nicole Cordes about 6 years ago

Is there any special element you used? I tried with text/images and all images are opening just fine.

#5

Updated by Marco Dinnbier about 6 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

#6

Updated by Markus Sommer about 6 years ago

  • Assignee set to Marco Dinnbier
#7

Updated by Andreas Allacher about 6 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?

#8

Updated by Anonymous about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF