Forum /
Ext JS 1.x - Unsupported /
Ext 1.x: Bugs /
Ext User
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 ?
Sencha User
Yep. That's a bug. I fixed in the dev code. Thanks for reporting it.
Ext User
Hi,
I just checked RC1.
YAHOO.ext.Element.getChildrenByTagName
has the same bug.
Sencha User
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
By Nullity in forum Ext 2.x: Help & Discussion
Replies: 3
Last Post: 7 Mar 2007, 12:24 PM
By seldon in forum Ext 1.x: Help & Discussion
Replies: 1
Last Post: 3 Jan 2007, 6:33 PM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us