-
30 Mar 2013 1:53 AM #1
Error with DelayedTask - Sencha Touch 2.2 RC
Error with DelayedTask - Sencha Touch 2.2 RC
Ext version tested:
- Sencha Touch 2.2.0 RC
- Chrome
- Ext.util.DelayedTask - Uncaught TypeError: Cannot call method 'apply' of undefined
I use this code in a function
and that error occurs:Code://create the delayed task instance with our callback var task = Ext.create('Ext.util.DelayedTask', function() { console.log('callback!'); }); task.delay(1500); //the callback function will now be called after 1500m
Uncaught TypeError: Cannot call method 'apply' of undefined (in DelayedTask.js line 104)
Operating System:- WinXP Pro
-
30 Mar 2013 5:29 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,640
- Vote Rating
- 435
Thanks for the report! I have opened a bug in our bug tracker.
-
2 Apr 2013 1:38 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.
-
7 May 2013 6:00 AM #4
Error still exists in Sencha Touch 2.2 Release. I got the error:
- Uncaught TypeError: Object #<Object> has no method 'apply' DelayedTask.js:116
- call
I try to setCode:var task2 = Ext.create('Ext.util.DelayedTask', { fn: function() { console.log('callback!'); } }); task2.delay(500);but this does not change anything. Can you give me a hint please.Code:scope:this
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-4229
in
Sprint 32.


Reply With Quote