X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Submit.html diff --git a/docs/source/Submit.html b/docs/source/Submit.html index 9f368c07..fbfc14f7 100644 --- a/docs/source/Submit.html +++ b/docs/source/Submit.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.form.action.Submit
  * @extends Ext.form.action.Action
  * <p>A class which handles submission of data from {@link Ext.form.Basic Form}s
@@ -61,7 +78,7 @@ Ext.define('Ext.form.action.Submit', {
 
     type: 'submit',
 
-    /**
+    /**
      * @cfg {boolean} clientValidation Determines whether a Form's fields are validated
      * in a final call to {@link Ext.form.Basic#isValid isValid} prior to submission.
      * Pass <tt>false</tt> in the Form's submit options to prevent this. Defaults to true.
@@ -79,7 +96,7 @@ Ext.define('Ext.form.action.Submit', {
         }
     },
 
-    /**
+    /**
      * @private
      * Perform the submit of the form data.
      */
@@ -107,7 +124,7 @@ Ext.define('Ext.form.action.Submit', {
         }
     },
 
-    /**
+    /**
      * @private
      * Build the full set of parameters from the field values plus any additional configured params.
      */
@@ -118,7 +135,7 @@ Ext.define('Ext.form.action.Submit', {
         return Ext.apply({}, fieldParams, configParams);
     },
 
-    /**
+    /**
      * @private
      * Build a form element containing fields corresponding to all the parameters to be
      * submitted (everything returned by {@link #getParams}.
@@ -145,7 +162,7 @@ Ext.define('Ext.form.action.Submit', {
                 tag: 'input',
                 type: 'hidden',
                 name: name,
-                value: val
+                value: Ext.String.htmlEncode(val)
             });
         }
 
@@ -191,7 +208,7 @@ Ext.define('Ext.form.action.Submit', {
 
 
 
-    /**
+    /**
      * @private
      */
     onSuccess: function(response) {
@@ -208,7 +225,7 @@ Ext.define('Ext.form.action.Submit', {
         form.afterAction(this, success);
     },
 
-    /**
+    /**
      * @private
      */
     handleResponse: function(response) {
@@ -235,4 +252,6 @@ Ext.define('Ext.form.action.Submit', {
         return Ext.decode(response.responseText);
     }
 });
-
\ No newline at end of file +
+ +