1. #1
    Ext User glauff's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    38
    Vote Rating
    0
    glauff is on a distinguished road

      0  

    Default getChildrenByClassName

    getChildrenByClassName


    Hello Jack,
    I encountered a problem with the getChildrenByClassName Function.
    The function returns an array with the length of 1, even if no children were found.

    You do

    cn[len];

    but I think :

    cn = new Array(len);

    would be a better choice.

    What do you think ?

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Yep. That's a bug. I fixed in the dev code. Thanks for reporting it.

  3. #3
    Ext User glauff's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    38
    Vote Rating
    0
    glauff is on a distinguished road

      0  

    Default


    Hi,

    I just checked RC1.

    YAHOO.ext.Element.getChildrenByTagName
    has the same bug.

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Since I just put it up a little bit ago I went ahead and uploaded a new zip correcting that function too. I should have checked.

Similar Threads

  1. getChildrenByClassName missing in Ext 1.0?
    By Nullity in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 7 Mar 2007, 12:24 PM
  2. What is faster than getChildrenByClassName(..)[0] ?
    By seldon in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 3 Jan 2007, 6:33 PM

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..."