[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JavaScript function remove() not supported in Internet Explorer 11  XML
Forum Index -> Development
Author Message
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

Hi,

we had an issue with our application not starting on IE11.
Reason was a call to remove() from risc.js, which is not supported in IE11, see screen shot.

We solved it by adding the function to a custom js file:

Code:
 // fix for IE 11 
 // Create Element.remove() function if not exist
 if (!('remove' in Element.prototype)) {
     Element.prototype.remove = function() {
         if (this.parentNode) {
             this.parentNode.removeChild(this);
         }
     };
 }
 

Best regards
Frauke
 Filename Capture.PNG [Disk] Download
 Description
 Filesize 15 Kbytes
 Downloaded:  528 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5518
Offline

Please check http://www.captaincasademo.com/forum/posts/list/2773.page

The solution was immediately delivered after publishing this "feature" in the corresponding update. ;-)

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team