PDA

View Full Version : [INFOREQ] Ext3-compat.js: this.cascase is not a function



14 Feb 2012, 10:49 AM
this.cascase is not a function of course
because this.cascade is a function : )


Error in Ext3-compat.js




findByType:function(inType) {
deprecate({pkg:"Ext.panel.Panel", member:"findByType",
msg:"Use var found = false; this.cascade(function(inItem) { if(inItem.getXType() == '" + inType +
"') { found = inItem; return false; }}); instead. Automatically fixing."});
var found = false;
this.cascase(function(inItem) {
if(inItem.getXType() == inType) {
found = inItem;
return false;
}
});
return found;
},


bye bye

mitchellsimoens
14 Feb 2012, 11:16 AM
Can I get a test case?

http://www.sencha.com/forum/showthread.php?138165-How-to-report-a-bug