Roo/ContentPanel.js
authorAlan Knowles <alan@roojs.com>
Mon, 6 Aug 2012 05:36:50 +0000 (13:36 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 6 Aug 2012 05:36:50 +0000 (13:36 +0800)
Roo/ContentPanel.js

index 485c1a3..508a2e5 100644 (file)
@@ -81,7 +81,7 @@ Roo.ContentPanel = function(el, config, content){
     
     // xtype created footer. - not sure if will work as we normally have to render first..
     if (this.footer && !this.footer.el && this.footer.xtype) {
-        this.footer.container = this.el.insertSibling(false, 'after');
+        this.footer.container = this.el.createChild();
          
         this.footer = Roo.factory(this.footer, Roo);