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

index 8806120..21530bd 100644 (file)
@@ -308,7 +308,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
     addForm : function(form){
        
         this.childForms.push(form);
-        form.allItems.each(function (fe) {
+        Roo.each(form.allItems, function (fe) {
             
             if (this.findField(fe.name)) { // already added..
                 return;