Partial Fix #5635 - chome extension for uploading clippings
[roojs1] / Roo / form / Action.js
index b7ea9e7..dd1a134 100644 (file)
@@ -8,7 +8,9 @@
  * Fork - LGPL
  * <script type="text/javascript">
  */
+
+// as we use this in bootstrap.
+Roo.namespace('Roo.form');
  /**
  * @class Roo.form.Action
  * Internal Class used to handle form actions
@@ -17,7 +19,6 @@
  * @param {Object} config Configuration options
  */
 
-Roo.namespace('Roo.form');
  
  
 // define the action interface
@@ -225,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();