Results 1 to 3 of 3

Thread: [6.7.0 classic] After upgrade 6.6.0 to 6.7.0 app crashes in Internet Explorer 8

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2014
    Posts
    9

    Default [6.7.0 classic] After upgrade 6.6.0 to 6.7.0 app crashes in Internet Explorer 8

    Production built app crashes with error: "SVGElement is undefined" in IE8.
    The problem is caused by a change in Ext.dom.Element's replaceCls method.

    Towards the end of the function in 6.6.0.285 there is:
    Code:
    else if (added) {
        me.dom.className = list.join(' ');
    }
    Which was changed in 6.7.0.166 to:
    Code:
    else if (added) {
        list = list.join(' ');
    
    
        if (dom instanceof SVGElement) {
            // dom.className is an instance of SVGAnimatedString
            // for SVG elements. Setting the `class` attribute
            // of an SVG element will update its `dom.className.baseVal`.
            dom.setAttribute('class', list);
        }
        else {
            dom.className = list;
        }
    }
    If you add a check for Internet Explorer 8 or lower the problem is solved:
    Code:
    else if (added) {
        list = list.join(' ');
    
    
        if (!Ext.isIE8m && dom instanceof SVGElement) {
            // dom.className is an instance of SVGAnimatedString
            // for SVG elements. Setting the `class` attribute
            // of an SVG element will update its `dom.className.baseVal`.
            dom.setAttribute('class', list);
        }
        else {
            dom.className = list;
        }
    }

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005

    Default

    Hello- thank you for bringing this to our attention. We appreciate you providing us this information and will look into it as soon as possible. Your patience is greatly appreciated!

    Michele

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    567

    Default

    Hello,

    I apologize for the delay in response, this issue has been registered as a bug in our tracker under reference number EXTJS-28175. The Jira will be linked here to this thread for your reference and to track the progress.

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. [SOLVED]Internet Explorer cannon open the Internet site
    By eyuwang in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Nov 2008, 4:43 PM
  2. Replies: 0
    Last Post: 18 Nov 2008, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •