From edba9519ac048fa91f9b486f7928e69439744c73 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 26 Jul 2010 17:09:07 +0800 Subject: [PATCH] Roo/form/Form.js --- Roo/form/Form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/form/Form.js b/Roo/form/Form.js index c90c374d6a..2fe9471017 100644 --- a/Roo/form/Form.js +++ b/Roo/form/Form.js @@ -22,7 +22,7 @@ Roo.form.Form = function(config){ xitems = config.items; delete config.items; } - + this.childForms = []; Roo.form.Form.superclass.constructor.call(this, null, config); this.url = this.url || this.action; @@ -216,7 +216,7 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, { addForm : function(form){ - this.forms.push(form); + this.childForms.push(form); form.allItems.each(function (fe) { if (this.findField(fe.name)) { // already added.. -- 2.39.2