Results 1 to 3 of 3

Thread: Problems with panels in Internet Explorer 9 - insertAfter throws an exception

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Location
    Zurich, Switzerland
    Posts
    25
    Vote Rating
    0
      0  

    Default Problems with panels in Internet Explorer 9 - insertAfter throws an exception

    When I use Internet Explorer 9, there occurs always a problems with one panel. It is cloned and can see multiple instances of it although there should be only one. After page reload there is only panel. Problem occurs when I change the collapse state of this panel. It is then cloned. With each collapse-expand action, one more panel is added.



    There is an exception thrown from the insertAfter from ExtJS method, which I can't really understand.
    Here is the piece of code where IE sees problems - method insertAfter, null value.

    Code:
    Ext.Element.addMethods(
    function() {
        var GETDOM = Ext.getDom,
            GET = Ext.get,
            DH = Ext.DomHelper;
        
        return {
    
            ...
       
            insertBefore: function(el){                
                (el = GETDOM(el)).parentNode.insertBefore(this.dom, el);
                return this;
            },
        
            insertAfter: function(el){
                (el = GETDOM(el)).parentNode.insertBefore(this.dom, el.nextSibling);
                return this;
            },
    In other browsers I do not have any problems at all.

    Can this problem be somehow related to the bug which was addressed here:
    http://www.sencha.com/forum/showthre...ow-in-IE-brows!

    The code of the methods has been changed between 3.4.0, which I use, and 4.0.0 versions so I cannot simply transfer it.

    I would be really grateful for your support cause this problem is very annoying and seems hard to solve for me.

    EDIT: I read that there were at least 4 bugs which had to do with IE which have been fixed in 3.4.1.

    Can anyone please assess if my problem is already known and have also been fixed in 3.4.1?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    You would need to have a support subscription in order to get 3.4.1 and future updates to Ext JS 3
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2012
    Location
    Zurich, Switzerland
    Posts
    25
    Vote Rating
    0
      0  

    Default

    Does anyone here have any ideas how to get rid of the problem with zombie panels? The exception which see in the browser console is:

    SCRIPT5007: Unable to get value of the property ' insertbefore': object is null or undefined ext-all-debug-w-comments.js, line 3443 character 11

    Tried to google, but can't see any answer which would be applicable to this problem. This issue arises only for IE. Other browsers work perfectly. Have no idea what to do to narrow or eliminate the problem.

Posting Permissions

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