8 Nov 2006 2:15 AM #1
I encountered a problem with the getChildrenByClassName Function.
The function returns an array with the length of 1, even if no children were found.
but I think :
cn = new Array(len);
would be a better choice.
What do you think ?
8 Nov 2006 4:31 AM #2
Yep. That's a bug. I fixed in the dev code. Thanks for reporting it.
10 Nov 2006 5:41 AM #3
I just checked RC1.
has the same bug.
10 Nov 2006 6:46 AM #4
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.
By Nullity in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 7 Mar 2007, 12:24 PM
By seldon in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 3 Jan 2007, 6:33 PM