-
27 Nov 2011 1:21 PM #1
listener config does not invoke the method if function is given as "fn" option
listener config does not invoke the method if function is given as "fn" option
The listener in the following case is not invoked:
But it is invoked if you leave out "fn" and directly give the function for the "tap" option.Code:{ xtype: 'button', listeners: { tap: { fn: function() { alert('Clicked'); } } } }--
Rahul Singla
-
28 Nov 2011 10:06 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
Thank you for the report.
-
13 Jan 2012 1:35 PM #3Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
This has been fixed for the next release.
-
14 Jan 2012 12:15 AM #4
Thanks Jamie!!!
--
Rahul Singla
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1121
in
2.0.


Reply With Quote