PDA

View Full Version : Ext.insertFirst typo



dj
8 Apr 2007, 12:57 PM
insertFirst: function(el, returnDom){
el = el || {};
if(typeof el == 'object' && !el.nodeType){ // dh config
return this.createChild(el, this.dom.firstChild, returnDom);
}else{
el = Ext.getDom(el);
this.dom.insertBefore(el, this.domain.firstChild);
return !returnDom ? Ext.get(el) : el;
}
}

should obviously be dom

jack.slocum
9 Apr 2007, 9:53 AM
Thank you. I get that one constantly from intellisense!