Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    6
    Vote Rating
    0
    Chris.Schick is on a distinguished road

      0  

    Default 4.1.1-rc1 bug

    4.1.1-rc1 bug


    The "dd" property on a Window is now "undefined" in the after render method whereas it was not in 4.0.7.

    See:

    Code:
            win = Ext.create("Ext.window.Window",cfg);
            /* 
              win.dd below will be undefined in 4.1.0 and 4.1.1.rc-1 but not in
              4.0.7-4.0.0
            */
            win.on({
                afterrender: function () {
                    win.dd.xTickSize = me.xTickSize;
                    win.dd.yTickSize = me.yTickSize;
    
    
                    if (win.resizer) {
                        win.resizer.widthIncrement = me.xTickSize;
                        win.resizer.heightIncrement = me.yTickSize;
                    }
                },
                single: true
            });
    Last edited by Chris.Schick; 4 Jun 2012 at 1:35 PM. Reason: more information added