Roo/form/BasicForm.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:16:40 +0000 (17:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:16:40 +0000 (17:16 +0800)
Roo/form/BasicForm.js

index b98d614..edc42b5 100644 (file)
@@ -417,6 +417,12 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
         this.items.each(function(f){
             f.reset();
         });
+        if (this.childForms) {
+            Roo.each(this.childForms, function (f) {
+                f.reset();
+            });
+        }
+        
         return this;
     },