Changeset 2909

Show
Ignore:
Timestamp:
01/20/06 16:38:05 (3 years ago)
Author:
ilia
Message:

Fixed getChildrenOfType for functions so it works now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/widget/Widget.js

    r2899 r2909  
    134134                for(var x=0; x<this.children.length; x++){ 
    135135                        if(isFunc){ 
    136                                 if(this.children[x].widgetType instanceof type){ 
     136                                if(this.children[x] instanceof type){ 
    137137                                        ret.push(this.children[x]); 
    138138                                }