Project

General

Profile

Actions

Bug #69417

closed

Inline Element doesn't open in Internet Explorer

Added by Marco Dinnbier over 8 years ago. Updated over 5 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
Actions #1

Updated by Alexander Opitz over 8 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.

Actions #2

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Gerrit Code Review over 8 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

Actions #4

Updated by Nicole Cordes over 8 years ago

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

Actions #5

Updated by Marco Dinnbier over 8 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

Actions #6

Updated by Markus Sommer over 8 years ago

  • Assignee set to Marco Dinnbier
Actions #7

Updated by Andreas Allacher over 8 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?

Actions #8

Updated by Anonymous over 8 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF