PDA

View Full Version : [FIXED] listener config does not invoke the method if function is given as "fn" option



r_honey
27 Nov 2011, 1:21 PM
The listener in the following case is not invoked:



{
xtype: 'button',
listeners: {
tap: {
fn: function() {
alert('Clicked');
}
}
}
}


But it is invoked if you leave out "fn" and directly give the function for the "tap" option.

Jamie Avins
28 Nov 2011, 10:06 AM
Thank you for the report.

Jamie Avins
13 Jan 2012, 1:35 PM
This has been fixed for the next release.

r_honey
14 Jan 2012, 12:15 AM
Thanks Jamie!!!