PDA

View Full Version : Bug call Ext.onReady (Ext.EventManager.onDocumentReady)



webersouza
24 Feb 2007, 5:46 PM
When call onDocumentReady catch the "override not defined".
Please see that paramter 3 is "options":
==============================================
.....
onDocumentReady : function(fn, scope, options){
if(docReadyState){

fn.call(override? scope || window : window, scope);
//fn.call(options? scope || window : window, scope); // it's my test, it's work
return;
}
if(!docReadyEvent){
initDocReady();
}
docReadyEvent.addListener(fn, scope, options);
},
.....
==============================================

jack.slocum
24 Feb 2007, 5:54 PM
Grab the latest download (Alpha 2). It's fixed in there.