-
11 Jan 2013 12:29 AM #1
Form with standardSubmit isn't working
Form with standardSubmit isn't working
PHP Code:Ext.define('Ext.form.action.StandardSubmit', {
extend:'Ext.form.action.Submit',
alias: 'formaction.standardsubmit',
/**
* @cfg {String} target
* Optional target attribute to be used for the form when submitting.
*
* Defaults to the current window/frame.
*/
/**
* @private
* Perform the form submit. Creates and submits a temporary form element containing an input element for each
* field value returned by
{@link Ext.form.Basic#getValues}, plus any configured {@link #params params} or * {@link Ext.form.Basic#baseParams baseParams}.
*/
doSubmit: function() {
var formInfo = this.buildForm();
form.formEl.submit();
this.cleanup(formInfo);
}
});
I guess it should read formInfo instead of form.
-
12 Jan 2013 9:54 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
Thanks for the report, this has been fixed for the next release.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8221
in
4.2.0 Sprint 3.


Reply With Quote