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

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