X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fform%2FAction.js;h=febdb1de82b6840610ddc2d12286d40f56604fc0;hb=ff355e12aa44d689f8536251642f2963c7abbf1e;hp=4b571ae2aa863882399ba6bd5606feeb554f6e05;hpb=e40d64cf7182cc39acf7031164de90b024877daf;p=roojs1 diff --git a/Roo/form/Action.js b/Roo/form/Action.js index 4b571ae2aa..febdb1de82 100644 --- a/Roo/form/Action.js +++ b/Roo/form/Action.js @@ -212,7 +212,6 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, { var o = this.options; var method = this.getMethod(); var isPost = method == 'POST'; - Roo.log(o); if(o.clientValidation === false || this.form.isValid()){ if (this.form.progressUrl) { @@ -227,7 +226,8 @@ 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(); @@ -289,7 +289,13 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, { } var ret = false; try { - ret = Roo.decode(response.responseText); + var rt = response.responseText; + if (rt.match(/^\