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

index 10e9f4f..6caf3b6 100644 (file)
@@ -85,7 +85,7 @@ Roo.ContentPanel = function(el, config, content){
             this.wrapEl = this.el.wrap();
         }
     
-        this.footer.container = this.el.insertSibling(false, 'after');
+        this.footer.container = this.wrapEl.createChild();
          
         this.footer = Roo.factory(this.footer, Roo);