You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    156
    Vote Rating
    1
    WixSL is on a distinguished road

      0  

    Default [2.2.1] Ext.Component.showBy changes container of components to the Viewport!

    [2.2.1] Ext.Component.showBy changes container of components to the Viewport!


    Using Version 2.2.1.

    "Ext.Component.showBy" method CHANGES the container of the component being show ?!?!?!?!?

    This can't be a correct behaviour.

    I saw this after a long struggle searching the cause why myPanel.up('myPanel_Container_XType') always return undefined.

    Code:
    showBy: function(component, alignment) {
            var me = this,
                viewport = Ext.Viewport,
                parent = me.getParent();
    
            me.setVisibility(false);
    
            if (parent !== viewport) {
                viewport.add(me);
            }
    
            me.show();
    
            me.on({
                hide: 'onShowByErased',
                destroy: 'onShowByErased',
                single: true,
                scope: me
            });
            viewport.on('resize', 'alignTo', me, { args: [component, alignment] });
    
            me.alignTo(component, alignment);
            me.setVisibility(true);
        }
    The best i could find in the forums releated to this was the following thread:

    this.parent and this.getParent() always return undefined in initialize

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    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


    Yeah, I think it also needs to check if parent is undefined.

    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi