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

index a56a82e..9f0146f 100644 (file)
@@ -81,8 +81,8 @@ 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;
+        this.toolbar.container = this.el.insertSibling(false, 'after');
+         
         this.footer = Roo.factory(this.footer, Roo);
         
     }