Just if you ever encounter this error on FireBug when developing with Ext JS:
this.addEvents is not a function
Please, check that you are not missing a “new” keyword.
I’ve spent an hour with this section of code, throwing that error:
txtInstrucciones = Ext.form.TextArea({
fieldLabel:'Instrucciones de la tarea',
name:'instrucciones',
allowBlank:false,
readOnly: true,
style: 'margin-top: 5px;',
width:500,
height:80
});
So, the error was a missing new keyword:
txtInstrucciones = new Ext.form.TextArea({
fieldLabel:'Instrucciones de la tarea',
name:'instrucciones',
allowBlank:false,
readOnly: true,
style: 'margin-top: 5px;',
width:500,
height:80
});






