1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
    Webtel is on a distinguished road

      0  

    Exclamation Unanswered: a.getComputedStyle(c.firstChild.firstChild, null) is null

    Unanswered: a.getComputedStyle(c.firstChild.firstChild, null) is null


    I cant describe this well becasue there is no visible problem except error in firebug..
    I saw this as a bug report but in 4.0.7 version it still persists.
    Can this be fixed by override (any example)? and will it be finally fixed in 4.1?

    I know that it can be fixed by editing ext source but i d rather not go there everytime new version is out...

    ext-all-debug.js : 6270

    Code:
        {
                identity: 'RightMargin',
                fn: function(doc, div) {
                    var view = doc.defaultView;
                    if(view.getComputedStyle(div.firstChild.firstChild, null)==null){
                    	view = doc.body.defaultView;
                    }
                    return !(view && view.getComputedStyle(div.firstChild.firstChild, null).marginRight != '0px');
                }
    and ext-all-debug.js : 6300

    Code:
            {
                identity: 'TransparentColor',
                fn: function(doc, div, view) {
                    view = doc.defaultView;
                    if(view.getComputedStyle(div.firstChild, null)==null){
                    	view = doc.body.defaultView;
                    }
                    return !(view && view.getComputedStyle(div.lastChild, null).backgroundColor != 'transparent');
                }
            },

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What class and method is this happening in? All classes can be overridden one method at a time easily.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
    Webtel is on a distinguished road

      0  

    Default


    well, the class is as i said located around line 6270 at ext-all-debug.js (4.0.7).

    What else do you need to know?

    When this bug will be fixed? and again can anybody provide me an override?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    If you need a hotfix, depending on your support subscription level, you can get one from http://support.sencha.com/
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha Premium Member i.stojanovic's Avatar
    Join Date
    Oct 2010
    Location
    Kragujevac, Serbia
    Posts
    24
    Vote Rating
    0
    i.stojanovic is on a distinguished road

      0  

    Default Problem only in FireFox

    Problem only in FireFox


    I try Opera,Chrome, IE and only FF have problem with this!!!
    www.codelighter.com
    There are 10 types of people in this world, those who understand binary and those who dont

  6. #6
    Sencha User
    Join Date
    Apr 2013
    Posts
    9
    Vote Rating
    0
    Approach is on a distinguished road

      0  

    Default


    I have this same bug in 4.2.1.
    I created a patch for a compressed Version. See https://github.com/approached/extjsFixes