X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fform%2FAction.js;h=dd1a134a3f5f0434dca7898cd94f0e48cb0c49b5;hb=d59b277dae414c8ed4dbc3522847f5f1b495081a;hp=dca1dfc07b6959c6def4357430fc0d713f0dfe16;hpb=d6e1eec0a6f1b8372a2f3698bb97a0bbe032e822;p=roojs1 diff --git a/Roo/form/Action.js b/Roo/form/Action.js index dca1dfc07b..dd1a134a3f 100644 --- a/Roo/form/Action.js +++ b/Roo/form/Action.js @@ -212,10 +212,8 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, { var o = this.options; var method = this.getMethod(); var isPost = method == 'POST'; - Roo.log(o); - Roo.log(this.form.isValid()); if(o.clientValidation === false || this.form.isValid()){ - Roo.log('got here'); + if (this.form.progressUrl) { this.form.findField('UPLOAD_IDENTIFIER').setValue( (new Date() * 1) + '' + Math.random()); @@ -228,13 +226,13 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, { url:this.getUrl(!isPost), method: method, params:isPost ? this.getParams() : null, - isUpload: this.form.fileUpload + isUpload: this.form.fileUpload, + formData : this.form.formData })); this.uploadProgress(); }else if (o.clientValidation !== false){ // client validation failed - Roo.log('got fail??'); this.failureType = Roo.form.Action.CLIENT_INVALID; this.form.afterAction(this, false); }