Roo/form/BasicForm.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 14 Nov 2011 09:48:13 +0000 (17:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 14 Nov 2011 09:48:13 +0000 (17:48 +0800)
Roo/form/BasicForm.js

index cbe43c0..55fed7f 100644 (file)
@@ -456,8 +456,10 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
     {
         if (this.childForms) {
             // copy values from the child forms
+            // should this call getFieldValues - probably not as we do not currently copy
+            // hidden fields when we generate..
             Roo.each(this.childForms, function (f) {
-                this.setValues(f.getFieldValues(with_hidden));
+                this.setValues(f.getValues());
             }, this);
         }
         
@@ -470,6 +472,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
             if ((typeof(v) == 'object') && f.getRawValue) {
                 v = f.getRawValue() ; // dates..
             }
+            
             ret[f.getName()] = v;
         });