From: Alan Knowles Date: Mon, 26 Jul 2010 09:17:44 +0000 (+0800) Subject: Roo/form/Form.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=818a423db7f0ad01b16fa40d8a0af5e33a0101c8;p=roojs1 Roo/form/Form.js --- diff --git a/Roo/form/Form.js b/Roo/form/Form.js index d55b290814..dcdf8f2964 100644 --- a/Roo/form/Form.js +++ b/Roo/form/Form.js @@ -206,30 +206,7 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, { return this; }, - /** - * Add a secondary form to this one, - * Used to provide tabbed forms. One form is primary, with hidden values - * which mirror the elements from the other forms. - * - * @param {Roo.form.Form} form to add. - * - */ - - - addForm : function(form){ - - this.childForms.push(form); - form.allItems.each(function (fe) { - - if (this.findField(fe.name)) { // already added.. - return; - } - this.add( new Roo.form.Hidden({ - name : fe.name - })); - }, this); - - }, +