Roo/ContentPanel.js
authorAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 14:57:34 +0000 (22:57 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 14:57:34 +0000 (22:57 +0800)
Roo/ContentPanel.js

index 5ef181f..10e9f4f 100644 (file)
@@ -404,11 +404,11 @@ layout.addxtype({
         if (cfg.xtype.match(/^Form$/)) {
             
             var el;
-            if (this.footer) {
-                el = this.footer.container.insertSibling(false, 'before');
-            } else {
+            //if (this.footer) {
+            //    el = this.footer.container.insertSibling(false, 'before');
+            //} else {
                 el = this.el.createChild();
-            }
+            //}
 
             this.form = new  Roo.form.Form(cfg);