Results 1 to 3 of 3

Thread: IE me.el.onerrror -> el is undefined.

  1. #1
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,199

    Default IE me.el.onerrror -> el is undefined.

    Someone encountered this problem in IE11?
    I am using latest CMD and Ext version 6.0.1

    Code:
    loadElement: function() {
                var me = this,
                    complete = function(){
                        me.el.onerror = me.el.onload = emptyFn; // <---- bangs here, el is undefined
                        me.el = null;
                        me.loaded = me.evaluated = me.done = true;
                        me.notifyRequests();
                    };
                me.createLoadElement(function(){
                    complete();
                });
                me.evaluateLoadElement();
                return true;
            },
    Happens when loading the page with bootloader and often when refreshing the page.

  2. #2
    Sencha Premium User
    Join Date
    Nov 2013
    Posts
    6

    Default

    I know this is old, but did you find a fix for this issue? I'm facing the same problem on IE10, when it's working perfectly in Chrome.

  3. #3
    Sencha Premium Member matei's Avatar
    Join Date
    Jun 2008
    Location
    Cluj-Napoca
    Posts
    84

    Default

    We've added an override just after including bootstrap.js

    PHP Code:
    Ext.Boot.Entry.prototype.loadElement = function () {
        var 
    me this,
            
    complete = function () {
                if(
    me.el) {
                    
    me.el.onerror me.el.onload = function () {};
                }
                
    me.el null;
                
    me.loaded me.evaluated me.done true;
                
    me.notifyRequests();
            };
        
    me.createLoadElement(function () {
            
    complete();
        });
        
    me.evaluateLoadElement();
        return 
    true;
    }; 

Similar Threads

  1. Replies: 3
    Last Post: 16 Dec 2014, 7:13 AM
  2. Replies: 6
    Last Post: 8 Nov 2014, 9:18 PM
  3. Replies: 1
    Last Post: 11 Jun 2012, 9:17 AM
  4. Replies: 3
    Last Post: 9 Feb 2012, 3:32 AM
  5. Ext.EventObject is undefined + Ext.BoxComponent is undefined
    By rgamero in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 18 May 2010, 1:33 PM

Posting Permissions

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