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
    16
    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
    16
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar