PDA

View Full Version : [FIXED-193] FormPanel.submit doesn't call handlers



Mis63
2 Aug 2010, 7:40 AM
It seems that there is a bug in FormPanel.submit : the success handler is never called. The problem is because the options parameter received by callback function on Ext.Ajax.request isn't the same as the options parameters passed to FormPanel.submit. So in the callback function of Ajax.request, the value options.success is always undefined.

Mis63
2 Aug 2010, 7:46 AM
To temporary fix the bug, I modified the source to change in the FormPanel.submit function
callback : function(options, success, response){
by
callback : function(options2, success, response){
With it, that's worked.

Jamie Avins
2 Aug 2010, 9:04 AM
Thank you for the report.

hendricd
2 Aug 2010, 8:25 PM
Miss63--

Thanks again for the report. This has been corrected for 0.94.