-
15 Oct 2011 4:29 PM #1
Form submitting bug
Form submitting bug
http://docs.sencha.com/touch/2-0/#!/...rms/index.html
When I click "Save" I expect
console.log('success', Ext.toArray(arguments));
Instead I get- Uncaught TypeError: Cannot call method 'unmask' of undefined
- Ext.define.hideMask sencha-touch-all.js:15
- Ext.Ajax.request.callback
- Ext.apply.callback
- Ext.define.onComplete
- Ext.define.onStateChange
- (anonymous function)
- Uncaught TypeError: Cannot call method 'unmask' of undefined
-
17 Oct 2011 8:30 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
Looks like a bug in the example, thank you for the report.
-
17 Oct 2011 3:04 PM #3
This is a bug in sencha
This is a bug in sencha
The same code works if I use sencha touch 1 instead.
And error dissapear if I remove
Code:waitMsg : {message:'Submitting', cls : 'demos-loading'}
But the real problem is the next.
submit listener never worksCode:submit: function(form, result) { alert('come on'); console.log('success', Ext.toArray(arguments)); }, exception: function(form, result) { console.log('failure', Ext.toArray(arguments)); }
success listener doesn't work ether. I can't catch 200 response from the server.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-881
in
2.0.


Reply With Quote